相關標簽:
原理解析:
源碼:
RSV:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
趨勢線:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15)+MA(CLOSE,20))/4;
牛熊線:=MA(CLOSE,26);
生命線:=EMA(CLOSE,55);
JD1:=MAX(MAX(趨勢線,牛熊線),生命線);
JX1:=MIN(MIN(趨勢線,牛熊線),生命線);
JD2:=MAX(MAX(MA(C,5),MA(C,10)),MA(C,20));
JX2:=MIN(MIN(MA(C,5),MA(C,10)),MA(C,20));
一陽定勢:(JX2/JD2*100>98.5 AND C>JD2 AND O<JX2 AND REF(MA(C,20),1)/MA(C,20)<1) AND CROSS(J,D),NODRAW;
STICKLINE(一陽定勢,0,1,2,0),COLORRED;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
公式導入教程: 【通達信公式源碼導入方法教程】 【同花順公式源碼導入方法教程】 【大智慧新一代公式源碼導入方法教程】