通达信准确的抄底副图公式源码

[复制链接]
查看57 | 回复0 | 2022-7-24 03:43:23 | 显示全部楼层 |阅读模式

顶部:100;

底部:-30;

VARTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1);

VARDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0);

QW1:=(HIGH+LOW+CLOSE*2)/4*VARTIME;

QW3:=EMA(QW1,10)*VARTIME;

QW4:=STD(QW1,10)*VARTIME;

QW5:=(QW1-QW3)*100/QW4*VARTIME;

QW6:=EMA(QW5,5)*VARTIME;

RK7:=EMA(QW6,10)+100/2-5*VARTIME;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),0,0 ),COLOR007700;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),8,0 ),COLOR008800;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),7,0 ),COLOR009900;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),6,0 ),COLOR00AA00;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),5,0 ),COLOR00BB00;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),4,0 ),COLOR00CC00;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),3,0 ),COLOR00DD00;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),2,0 ),COLOR00EE00;

STICKLINE(RK7<REF(RK7,1)*VARTIME,RK7,MA(RK7,3),1,0 ),COLOR00FF00;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),0,0) ,COLOR00BBFF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),8,0) ,COLOR0011FF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),7,0) ,COLOR0022FF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),6,0) ,COLOR0044FF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),5,0) ,COLOR0066FF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),4,0) ,COLOR0088FF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),3,0) ,COLOR0099FF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),2,0) ,COLOR00AAFF;

STICKLINE(RK7> REF(RK7,1),RK7,EMA(RK7,3),1,0) ,COLOR00BBFF;

生命线:EMA(RK7,4), COLORYELLOW;

出击:IF(CROSS(QW6,RK7) AND QW6>RK7 AND QW6<18,20,0), STICK,COLORWHITE;

STICKLINE((CROSS(QW6,RK7) AND QW6>RK7 AND QW6<30),RK7,-30,2,1),COLORLIBLUE;

DRAWICON(出击>0,生命线,1 );

卖出:IF(CROSS(RK7,QW6) AND QW6<RK7 AND QW6>60,RK7,100),POINTDOT,COLORBLUE;

STICKLINE((CROSS(RK7,QW6) AND QW6<RK7 AND QW6>60),RK7,100,2,1),COLORBLUE;

DRAWICON(卖出<90,卖出,2);

VAR09:=EMA(C,5);

VAR10:=LLV(LOW,33);

VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40;

VAR12:=IF(VAR11>100,VAR11*0.312,VAR11);

量:VAR12,COLORWHITE;

STICKLINE(量>0,量,0,1,0),COLORGRAY;

650111153.gif

650111153.gif

 

{选股公式源码:}


 

VARTIME:=IF(YEAR>=2050 AND MONTH>=11 AND DAY>=07,0,1);

VARDTIME:=IF(YEAR=2050 AND MONTH=11 AND DAY=06,1,0);

QW1:=(HIGH+LOW+CLOSE*2)/4*VARTIME;

QW3:=EMA(QW1,10)*VARTIME;

QW4:=STD(QW1,10)*VARTIME;

QW5:=(QW1-QW3)*100/QW4*VARTIME;

QW6:=EMA(QW5,5)*VARTIME;

RK7:=EMA(QW6,10)+100/2-5*VARTIME;

出击:IF(CROSS(QW6,RK7) AND QW6>RK7 AND QW6<18,20,0);

650477617.gif

650477617.gif

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则