把资金线和建仓两个指标合一起_通达信

在TDX主图指标中标注该股上市日期

在TDX主图指标中标注该股上市日期

【股票资源馆】让数据触手可得!专业和谐破解高端炒股软件!

是国内最好的股票软件、股票公式指标、股票书籍下载网站;提供最全面的股票知识、炒股教程、黑马股票、股票资讯、期货外汇等给大家在线参考学习。

编写条件:

编写方法:

 网友求助:

请老师把主力建仓指标中的“开始建仓”加到资金线指标中,谢谢

建仓指标源码:R1:=MA(HHV(HIGH,500),21);

R2:=MA(HHV(HIGH,250),21);

R3:=MA(HHV(HIGH,90),21);

R4:=MA(LLV(LOW,500),21);

R5:=MA(LLV(LOW,250),21);

R6:=MA(LLV(LOW,90),21);

R7:=MA((R4*0.96+R5*0.96+R6*0.96+R1*0.558+R2*0.558+R3*0.558)/6,21);

R8:=MA((R4*1.25+R5*1.23+R6*1.2+R1*0.55+R2*0.55+R3*0.65)/6,21);

R9:=MA((R4*1.3+R5*1.3+R6*1.3+R1*0.68+R2*0.68+R3*0.68)/6,21);

RA:=MA((R7*3+R8*2+R9)/6*1.738,21);

主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;

RB:=REF(LOW,1);

RC:=SMA(ABS(LOW-RB),3,1)/SMA(MAX(LOW-RB,0),3,1)*100;

RD:=MA(IF(CLOSE*1.35<=RA,RC*10,RC/10),3);

RE:=LLV(LOW,30);

RF:=HHV(RD,30);

R10:=IF(MA(CLOSE,58),1,0);

开始建仓:MA(IF(LOW<=RE,(RD+RF*2)/2,0),3)/618*R10,COLORSTICK;

STICKLINE(开始建仓,开始建仓,0,2,0),COLORRED;

资金线源码:
p128p232p335p45
VAR1:=LLV(LOW,10);
VAR2:=HHV(HIGH,25);
警戒:=(P1)/(10);
减仓:=(P2)/(10);
卖出:=(P3)/(10);
买入:=(P4)/(10);
动力:=EMA(((CLOSE-VAR1)/(VAR2-VAR1))*(4),4);
追涨:IF(CROSS(动力,警戒),警戒-0.2,警戒),CIRCLEDOT,LINETHICK7,COLORF00FF0;
减磅:IF(CROSS(动力,减仓),减仓-0.2,减仓),CIRCLEDOT,LINETHICK7,COLORF0F000;
出局:IF(CROSS(动力,卖出),卖出-0.2,卖出),CIRCLEDOT,LINETHICK7,COLOR0000FF;
减仓,CIRCLEDOT,LINETHICK7,COLOR000000;
警戒,CIRCLEDOT,LINETHICK7,COLOR000000;
卖出,CIRCLEDOT,LINETHICK8,COLOR000000;
买入线:买入,CROSSDOT,COLORFFFF10;
警戒线:警戒,CROSSDOT,COLORFFFFFF;
动力线:动力,LINETHICK2,COLOR10FF10;
买进:IF(CROSS(动力线,0.5),1.8,0),STICK,COLOR00FFFF;
IF(CROSS(动力线,0.5),1.8,0),CIRCLEDOT,COLOR00FFFF;
IF(CROSS(动力线,0.5),1.5,0),CIRCLEDOT,COLOR00FFFF;
IF(CROSS(动力线,0.5),1.3,0),COLOR00FFFF;
IF(CROSS(动力线,0.5),0,0),CIRCLEDOT,COLOR000000;
 

 
解答如下:
P1:=28;P2:=32;P3:=35;P4:=5;

VAR1:=LLV(LOW,10);

VAR2:=HHV(HIGH,25);

警戒:=(P1)/(10);

减仓:=(P2)/(10);

卖出:=(P3)/(10);

买入:=(P4)/(10);

动力:=EMA(((CLOSE-VAR1)/(VAR2-VAR1))*(4),4);

追涨:IF(CROSS(动力,警戒),警戒-0.2,警戒),CIRCLEDOT,LINETHICK7,COLORF00FF0;

减磅:IF(CROSS(动力,减仓),减仓-0.2,减仓),CIRCLEDOT,LINETHICK7,COLORF0F000;

出局:IF(CROSS(动力,卖出),卖出-0.2,卖出),CIRCLEDOT,LINETHICK7,COLOR0000FF;

减仓,CIRCLEDOT,LINETHICK7,COLOR000000;

警戒,CIRCLEDOT,LINETHICK7,COLOR000000;

卖出,CIRCLEDOT,LINETHICK8,COLOR000000;

买入线:买入,CROSSDOT,COLORFFFF10;

警戒线:警戒,CROSSDOT,COLORFFFFFF;

动力线:动力,LINETHICK2,COLOR10FF10;

买进:IF(CROSS(动力线,0.5),1.8,0),STICK,COLOR00FFFF;

IF(CROSS(动力线,0.5),1.8,0),CIRCLEDOT,COLOR00FFFF;

IF(CROSS(动力线,0.5),1.5,0),CIRCLEDOT,COLOR00FFFF;

IF(CROSS(动力线,0.5),1.3,0),COLOR00FFFF;

IF(CROSS(动力线,0.5),0,0),CIRCLEDOT,COLOR000000;

R1:=MA(HHV(HIGH,500),21);
R2:=MA(HHV(HIGH,250),21);
R3:=MA(HHV(HIGH,90),21);
R4:=MA(LLV(LOW,500),21);
R5:=MA(LLV(LOW,250),21);
R6:=MA(LLV(LOW,90),21);
R7:=MA((R4*0.96+R5*0.96+R6*0.96+R1*0.558+R2*0.558+R3*0.558)/6,21);
R8:=MA((R4*1.25+R5*1.23+R6*1.2+R1*0.55+R2*0.55+R3*0.65)/6,21);
R9:=MA((R4*1.3+R5*1.3+R6*1.3+R1*0.68+R2*0.68+R3*0.68)/6,21);
RA:=MA((R7*3+R8*2+R9)/6*1.738,21);
RB:=REF(LOW,1);
RC:=SMA(ABS(LOW-RB),3,1)/SMA(MAX(LOW-RB,0),3,1)*100;
RD:=MA(IF(CLOSE*1.35<=RA,RC*10,RC/10),3);
RE:=LLV(LOW,30);
RF:=HHV(RD,30);
R10:=IF(MA(CLOSE,58),1,0);
开始建仓:MA(IF(LOW<=RE,(RD+RF*2)/2,0),3)/618*R10,NODRAW;
STICKLINE(开始建仓,开始建仓/100,0,2,0),COLORRED;
 

 

{股票资源馆:www.lixiangluntan.com专业和谐高端炒股软件--公式编写交流--加QQ751161480--}

【股票资源馆】通达信,大智慧,同花顺,飞狐,股票指标公式,股票公式大全,道迪拓金,K线图,k线图经典图解,k线图怎么看,k线图分析,股票k线图,大智慧策略破解版。/p>

下面的条件改成选股公式

下面的条件改成选股公式

大智慧策略终端/职业股民首选分析软件:支持ACE数据,支持L2行情全推数据,支持股票池,超赢数据,价格低廉,支持月季费年费。:

下载地址:https://share.weiyun.com/LPoU0GHu