飞狐二指禅公式源码 飞狐指标公式大全(3)
2015-11-26 17:27:54 股票入门 http://rumen.southmoney.com
开:=(((CLOSE - SMA(CLOSE,13,1)) / SMA(CLOSE,13,1)) * (0 - 100));
高:=REF(开,1);
低:=((((高 / 开) > 1.23) AND (高 > 13)) AND ((CLOSE / REF(CLOSE,1)) > 1.03));
收:=OPEN;
AAA:=HIGH;
BB:=LOW;
CC1:=CLOSE;
超跌:STICKLINE((开 > 13),AAA,BB,0,1),LINETHICK2,colorFFFFFF;
反弹:STICKLINE((低 = 1),AAA,BB,0,1),LINETHICK2,colorFF00FF;
STICKLINE((开 > 13),收,CC1,8,1),LINETHICK2,colorFFFFFF;
STICKLINE((低 = 1),收,CC1,8,1),LINETHICK2,colorFF00FF;
AA:=(REF(HIGH,3) = HHV(HIGH,((2 * 3) + 1)));
CC:=FILTER(AA,3);
AA2:=BACKSET(CC,(3 + 1));
AAA2:=FILTER(AA2,3);
BB2:=(AAA2 OR ISLASTBAR);
CC22:=(REF(LOW,3) = LLV(LOW,((2 * 3) + 1)));
CC2:=FILTER(CC22,3);
EA:=BACKSET(CC2,(3 + 1));
EB:=FILTER(EA,3);
EE:=(EB AND NOT(AAA2));
FF1:=BACKSET(BB2,(REF(BARSLAST(EE),1) + 1));
EE2:=(FF1 > REF(FF1,1));
FF2:=BACKSET(EE2,2);
EE3:=(FF2 > REF(FF2,1));
FF3:=BACKSET((EE3 AND (COUNT(BB2,(REF(BARSLAST(EE),1) + 2)) = 0)),(REF(BARSLAST(EE),1) + 2));
js:=(FF3 > REF(FF3,1));
G1:=BACKSET((JS AND (COUNT(BB2,(REF(BARSLAST(EE),1) + 2)) = 0)),(REF(BARSLAST(EE),1) + 2));
GA:=(G1 > REF(G1,1));
G2:=IF(BB2,COUNT(EE,(REF(BARSLAST(BB2),1) + 1)),0);
G3:=IF(((G2 = 1) AND BB2),BARSLAST(EE3),0);
GG:=IF((BB2 AND (REF(LOW,BARSLAST(EE3)) >= REF(LOW,BARSLAST(JS)))),BARSLAST(JS),BARSLAST(EE3));
JA:=IF(((G2 = 2) AND BB2),GG,0);
JB:=IF(((G2 >= 3) AND BB2),IF((BB2 AND (REF(LOW,GG) >= REF(LOW,BARSLAST(GA)))),BARSLAST(GA),GG),0);
JJ:=((G3 + JA) + JB);
LD:=BACKSET(BB2,JJ);
LD1:=(LD > REF(LD,1));
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。