跌出机会 转载和谐完全加密通达信指标!

[复制链接]
查看90 | 回复0 | 2022-6-27 22:26:58 | 显示全部楼层 |阅读模式

{跌出机会}
VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2:=SMA(VAR1,3,1);
VAR3:=SMA(VAR2,3,1);
VAR4:=3*VAR2-2*VAR3;
VAR5:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR6:=EMA(VAR5,9);
VAR7:=2*(VAR5-VAR6);
VAR8:=IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100);
VAR9:=IF(CLOSE=INDEXC,VAR8+INDEXC-INDEXL,VAR8+(CLOSE-LOW));
VAR10:=IF(CLOSE=INDEXC,INDEXL+INDEXC-VAR8,LOW+(CLOSE-VAR8));
VAR11:=REF(VAR9,1);
VAR12:=REF(VAR10,1);
VAR13:=VAR9;
VAR14:=VAR10;
VAR15:=(HHV(HIGH,9.8)-CLOSE)/(HHV(HIGH,9.8)-LLV(LOW,9.8))*101;
VAR16:=SMA(VAR15,3,1);
VAR17:=SMA(VAR16,3,1);
VAR18:=3*VAR16-2*VAR17;
VAR19:=IF(VAR18>=100,100,IF(VAR18<=0,0,VAR18));
VAR20:=IF(VAR19=100,0-10,0);
VAR21:=IF(VAR19=0,90,100);
VAR22:=250;{www.70822.com}
VAR23:=HHV(VAR2,VAR22);
VAR24:=HHV(VAR3,VAR22);
VAR25:=HHV(VAR4,VAR22);
VAR26:=LLV(VAR2,VAR22);
VAR27:=EMA(CLOSE,60);
VAR28:=LLV(VAR4,VAR22);
VAR29:=MAX(VAR23,MAX(VAR24,VAR25));
VAR30:=MIN(VAR26,MIN(VAR27,VAR28));
VAR31:=(VAR29+VAR30)/2;
VAR32:=VAR29-VAR30;
VAR33:=HHV(VAR5,VAR22);
VAR34:=HHV(VAR6,VAR22);
VAR35:=HHV(VAR7,VAR22);
VAR36:=LLV(VAR5,VAR22);
VAR37:=LLV(VAR6,VAR22);
VAR38:=LLV(VAR7,VAR22);
VAR39:=VAR27*0.193;
VAR40:=MIN(VAR36,MIN(VAR37,VAR38));
VAR41:=(VAR39-VAR40)/100;
VAR42:=VAR39-VAR40;
VAR43:=(0-VAR41)*(VAR32/VAR42)+VAR31;
VAR44:=(VAR5-VAR41)*(VAR32/VAR42)+VAR31;
VAR45:=(VAR6-VAR41)*(VAR32/VAR42)+VAR31;
VAR46:=(VAR7-VAR41)*(VAR32/VAR42)+VAR31;
VAR47:=VAR7<REF(VAR7,1) AND VAR7>0;
VAR48:=VAR7>=REF(VAR7,1) AND VAR7>0;
VAR49:=VAR7>REF(VAR7,1) AND VAR7<0;
VAR50:=VAR7<=REF(VAR7,1) AND VAR7<0;
VAR51:=(HIGH+LOW+CLOSE)/3;
VAR52:=CROSS(VAR7,VAR5) AND VAR7>=0-0.05 AND VAR7<=0.02;
VAR53:=DRAWTEXT(VAR52,VAR46*0.82,1);
VAR54:=VAR27-VAR39;{www.70822.com}
VAR55:=IF(CROSS(VAR5,VAR6) AND VAR54-REF(VAR54,1)>0 AND VAR7>=REF(VAR7,1) AND VAR5<=0,1,0);
VAR56:=DRAWTEXT(VAR55=1,VAR44*1.68,2);
VAR57:=CROSS(VAR5,VAR6) AND VAR5<(-0.1);
VAR58:=DRAWTEXT(VAR57,VAR45*0.99,3);
VAR59:=COUNT(CROSS(VAR5,VAR6),BARSLAST(VAR6>=0));
VAR60:=CROSS(VAR5,VAR6) AND VAR6<0 AND COUNT(VAR59=2,21)=1;
VAR61:=DRAWTEXT(VAR60,VAR45*0.99-8,4);
VAR62:=BARSLAST(REF(CROSS(VAR5,VAR6),1));
VAR63:=REF(CLOSE,VAR62+1)>CLOSE AND VAR5>REF(VAR5,VAR62+1) AND CROSS(VAR5,VAR6);
VAR64:=DRAWTEXT(VAR63,VAR45*0.99-16,5);
VAR65:=BARSLAST(REF(CROSS(VAR6,VAR5),1));
VAR66:=REF(CLOSE,VAR65+1)<CLOSE AND REF(VAR5,VAR65+1)>VAR5 AND CROSS(VAR6,VAR5);
VAR67:=DRAWTEXT(FILTER(VAR66,5),VAR45*1.02,6);
VAR68:=WINNER(CLOSE)*100;
VAR69:=REF(CLOSE,VAR68+1)>CLOSE AND REF(VAR2,VAR68+1)<VAR2 AND CROSS(VAR2,VAR3);
VAR70:=IF(FILTER(VAR69>0,5),1,0);
VAR71:=DRAWTEXT(VAR70=1,VAR3*0.98,7);
VAR72:=BARSLAST(REF(CROSS(VAR3,VAR2),1));
VAR73:=REF(CLOSE,VAR72+1)<CLOSE AND REF(VAR2,VAR72+1)>VAR2 AND CROSS(VAR3,VAR2);
VAR74:=DRAWTEXT(FILTER(VAR73>0,5),VAR3+8,6);
VAR75:=OPEN>=VAR54 AND LOW<VAR54 AND OPEN<CLOSE;
VAR76:=MA((CLOSE-VAR75)/VAR75,3);
VAR77:=CROSS(VAR76,0) AND LOW/REF(HIGH,1)<1.012 AND VAR4<75 AND VAR4>REF(VAR4,1);
VAR78:=MA(CLOSE,12);{www.70822.com}
VAR79:=IF(FILTER(VAR7>=REF(VAR7,5) AND OPEN<=REF(CLOSE,1) AND VAR54-REF(VAR54,1)>0 AND VAR7<=0 AND VAR78-REF(VAR78,1)>=0,3) AND VAR4<80 AND VAR4>REF(VAR4,1) AND VAR3>REF(VAR3,1) AND (VAR5>=REF(VAR5,1) OR VAR6>=REF(VAR6,1)),1,0);
VAR80:=DRAWTEXT(VAR79=1,VAR46*0.98,8);
VAR81:=REF(LOW,1)<REF(VAR54,1) AND REF(VAR68,1)<0.01;
VAR82:=IF(CROSS(VAR81,VAR7) AND LOW<=VAR54 AND VAR7<=0-0.11 AND (VAR4<20 OR VAR2<20),1,0);
VAR83:=DRAWTEXT(FILTER(VAR82,3),0,9);
VAR84:=VAR75 AND VAR81;
VAR85:=SMA(VAR84,3,1);
VAR86:=3*VAR84-2*VAR85;
JJJ1:IF(VAR84,14,0),STICK,COLORYELLOW;
JJJ2:DRAWICON(VAR84,2,22);
JJJ3:DRAWICON(VAR84,5,30);
JJJ4:DRAWICON(VAR84,8,9);
JJJ5:DRAWICON(VAR84,11,18);
JJJ6:DRAWICON(VAR84,14,13);
 

2017111823322779269.png

2017111823322779269.png

=============其实上面的源码很多是无用的语句,删除无用的语句,源码为:

VAR27:=EMA(CLOSE,60);
VAR39:=VAR27*0.193;
VAR54:=VAR27-VAR39;
VAR68:=WINNER(CLOSE)*100;
VAR75:=OPEN>=VAR54 AND LOW<VAR54 AND OPEN<CLOSE;
VAR81:=REF(LOW,1)<REF(VAR54,1) AND REF(VAR68,1)<0.01;
VAR84:=VAR75 AND VAR81;{www.70822.com}
JJJ1:IF(VAR84,14,0),STICK,COLORYELLOW;
JJJ2:DRAWICON(VAR84,2,22);
JJJ3:DRAWICON(VAR84,5,30);
JJJ4:DRAWICON(VAR84,8,9);
JJJ5:DRAWICON(VAR84,11,18);
JJJ6:DRAWICON(VAR84,14,13);
 

201832811212033797.rar

4.58 KB, 下载次数: 0

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

201832811212033797.rar

回复

使用道具 举报

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

本版积分规则