波段持仓先进版本《通达信+副图+源码公式)分享理想中版本
幅图源码:
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
禅EMA(CS,3)-50)*2,COLORSTICK;
极弱:-80,COLOR0000FF;
风险:80,COLOR00FF00;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
一比:=EMA(100-VAR6,1);
S2:=EMA(一比,9);
二比:=MA(S2,9),LINETHICK0;
比差:ABS(二比-一比),LINETHICK0,COLORRED;
STICKLINE(1,(-1)*100,(-1)*100,0,0),COLOR000000;
STICKLINE(1,100,100,0,0),COLOR000000;
DRAWICON(禅>80,100,2);
DRAWICON(禅<((-1)*80),(-1)*80,1);
选股源码:
VAR1:=EMA(CLOSE,3);
CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
禅:=(EMA(CS,3)-50)*2;
VAR4:=(1.1)*CLOSE;
VAR5:=(0.9)*CLOSE;
VAR6:=100*(WINNER(VAR4)-WINNER(VAR5));
一比:=EMA(100-VAR6,1);
S2:=EMA(一比,9);
二比:=MA(S2,9),LINETHICK0;
比差:=ABS(二比-一比),LINETHICK0,COLORRED;
选股:禅<((-1)*80);
|