“短”上穿“中”,“ 中”上穿“长”,“长”上穿“超长”预警
2020/4/27 17:59:21
公式编写说明:
P1=8 P2=13 P3=21 P4=34JJJ:=IF((8)>0.01,0.01*(10)/(8),(3));DDD:=((5)<0.01 ||(6)<0.01);JJJT:=IF(DDD,1,(JJJ<((5)+0.01) && JJJ>((6)-0.01)));短:IF(JJJT,0.01*EXPMA(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1));中:IF(JJJT,0.01*EXPMA(AMOUNT,P2)/EXPMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2));长:IF(JJJT,0.01*EXPMA(AMOUNT,P3)/EXPMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3));超长:IF(JJJT,0.01*EXPMA(AMOUNT,P4)/EXPMA(VOL,P4),EMA((HIGH+LOW+CLOSE)/3,P4)); AA:=CROSS(短,中);BB:=CROSS(中,长); CC:=CROSS(长,超长);DRAWICON(AA,O,9); DRAWICON(BB,O,26);DRAWICON(CC,O,24);分别做三个预警公式,“短”上穿“中” , “ 中”上穿“长”, “长”上穿“超长”
公式源码示例:
P1=8 P2=13 P3=21 P4=34
JJJ:=IF((8)>0.01,0.01*(10)/(8),(3));
DDD:=((5)<0.01 ||(6)<0.01);
JJJT:=IF(DDD,1,(JJJ<((5)+0.01) && JJJ>((6)-0.01)));
短:=IF(JJJT,0.01*EXPMA(AMOUNT,P1)/EXPMA(VOL,P1),EMA((HIGH+LOW+CLOSE)/3,P1));
中:=IF(JJJT,0.01*EXPMA(AMOUNT,P2)/EXPMA(VOL,P2),EMA((HIGH+LOW+CLOSE)/3,P2));
长:=IF(JJJT,0.01*EXPMA(AMOUNT,P3)/EXPMA(VOL,P3),EMA((HIGH+LOW+CLOSE)/3,P3));
超长:=IF(JJJT,0.01*EXPMA(AMOUNT,P4)/EXPMA(VOL,P4),EMA((HIGH+LOW+CLOSE)/3,P4));
AA:=CROSS(短,中);
BB:=CROSS(中,长);
CC:=CROSS(长,超长);
XG:AA OR BB OR CC;
看 股吧公式 www.k anguba.com
其它股票公式列表