无敌龙门主图(通达信公式 主图 源码 测试图)

[复制链接]
查看46 | 回复0 | 2022-6-27 18:51:31 | 显示全部楼层 |阅读模式

 {公式名称: 无敌龙门主图

画线方法: 主图叠加}
 
MA5:MA(CLOSE,5);
MA10:MA(CLOSE,10);
MA20:MA(CLOSE,20);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA120:MA(CLOSE,120);
VAR1:=MA(CLOSE,5);
{分析家公式网 www.70822.com}
底部支撑:LLV(HIGH,30),COLOR9932CD,LINETHICK2;
VAR2:=REF(CLOSE,3)/REF(CLOSE,4)>1.095 AND REF(CLOSE,3)=REF(HIGH,3) AND REF(CLOSE,3)/REF(OPEN,3)>1.03 AND REF(CLOSE,3)/REF(OPEN,1)>1.02;
VAR3:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,3) AND REF(CLOSE,1)<REF(CLOSE,3) AND OPEN<REF(CLOSE,3);
VAR4:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09;
VAR5:=COUNT(LOW=LLV(LOW,25),10) AND REF(LOW,3)/OPEN<1.05 AND CLOSE>REF(OPEN,4) AND OPEN/REF(OPEN,3)<1.05;
VAR6:=VAR2 AND VAR3 AND VAR4 AND VAR5;
VAR7:=REF(CLOSE,4)/REF(CLOSE,5)>1.095 AND REF(CLOSE,4)=REF(HIGH,4) AND REF(CLOSE,4)/REF(OPEN,4)>1.03;
VAR8:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,4) AND OPEN<REF(CLOSE,4);
VAR9:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09;
VAR10:=COUNT(LOW=LLV(LOW,26),11) AND REF(LOW,4)/OPEN<1.05 AND CLOSE>REF(OPEN,4) AND OPEN/REF(OPEN,4)<1.05;
VAR11:=VAR7 AND VAR8 AND VAR9 AND VAR10;
VAR12:=REF(CLOSE,5)/REF(CLOSE,6)>1.095 AND REF(CLOSE,5)=REF(HIGH,5) AND REF(CLOSE,5)/REF(OPEN,5)>1.03;
VAR13:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,5) AND REF(CLOSE,1)<REF(CLOSE,5) AND OPEN<REF(CLOSE,5);
VAR14:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09;
VAR15:=COUNT(LOW=LLV(LOW,27),12) AND REF(LOW,5)/OPEN<1.05 AND CLOSE>REF(OPEN,5) AND OPEN/REF(OPEN,5)<1.05;
VAR16:=VAR12 AND VAR13 AND VAR14 AND VAR15;
VAR17:=REF(CLOSE,6)/REF(CLOSE,7)>1.095 AND REF(CLOSE,6)=REF(HIGH,6) AND REF(CLOSE,6)/REF(OPEN,6)>1.03;
VAR18:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,6) AND REF(CLOSE,1)<REF(CLOSE,6) AND OPEN<REF(CLOSE,6);
VAR19:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09 AND REF(CLOSE,5)/REF(CLOSE,6)<1.09 AND OPEN/REF(OPEN,6)<1.05;
VAR20:=COUNT(LOW=LLV(LOW,28),13) AND REF(LOW,6)/OPEN<1.05 AND CLOSE>REF(OPEN,6);
VAR21:=VAR17 AND VAR18 AND VAR19 AND VAR20;
VAR22:=REF(CLOSE,7)/REF(CLOSE,8)>1.095 AND REF(CLOSE,7)=REF(HIGH,7) AND REF(CLOSE,7)/REF(OPEN,7)>1.03 AND REF(CLOSE,8)/REF(CLOSE,9)<1.09;
VAR23:=CLOSE>OPEN AND CLOSE/REF(CLOSE,1)>1.041 AND REF(OPEN,1)<REF(CLOSE,7) AND REF(CLOSE,1)<REF(CLOSE,7) AND OPEN<REF(CLOSE,7);
VAR24:=REF(CLOSE,1)/REF(CLOSE,2)<1.09 AND REF(CLOSE,2)/REF(CLOSE,3)<1.09 AND REF(CLOSE,3)/REF(CLOSE,4)<1.09 AND REF(CLOSE,4)/REF(CLOSE,5)<1.09 AND REF(CLOSE,5)/REF(CLOSE,6)<1.09 AND REF(CLOSE,6)/REF(CLOSE,7)<1.09 AND OPEN/REF(OPEN,7)<1.05;
VAR25:=COUNT(LOW=LLV(LOW,28),13) AND REF(LOW,7)/OPEN<1.05 AND CLOSE>REF(OPEN,7);
VAR26:=VAR22 AND VAR23 AND VAR24 AND VAR25;
VAR27:=OPEN/LLV(HIGH,30)<1.05;
VAR28:=VAR26 OR VAR6 OR VAR11 OR VAR16 OR VAR21 OR VAR26 AND VAR27;
VAR29:=VAR28 AND NOT(REF(VAR28,1));
VAR30:=VAR29 AND NOT(COUNT(REF(VAR29,1),10)) AND REF(HIGH,1)/REF(CLOSE,2)<1.041;
STICKLINE(VAR30,OPEN,CLOSE,2.5,0),COLORYELLOW;
DRAWICON(VAR30,LOW*0.97,11);
DRAWTEXT(VAR30,LOW*0.93,9),COLORYELLOW;
 

p2020420404179170.jpg

p2020420404179170.jpg

2020420403325030.rar

3.83 KB, 下载次数: 0

售价: 3 金钱  [记录]  [购买]

2020420403325030.rar

回复

使用道具 举报

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

本版积分规则