Var18:=(HIGH+LOW+CLOSE)/3;
Var19:=(Var18-MA(Var18,14))/(0.015*AVEDEV(Var18,14));
Var1A:=(Var18-MA(Var18,70))/(0.015*AVEDEV(Var18,70));
Var1B:=IF(Var19>=150 AND Var19<200 AND Var1A>=150 AND Var1A<200,-10,0);
Var1C:=IF(Var19<=-150 AND Var19>-200 AND Var1A<=-150 AND Var1A>-200,10,0);
Var1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var1E:=100-ABS(Var1D);
出击1A:=(IF(BARSCOUNT(CLOSE)<70,-120,IF(Var1A<=-200 AND Var19<=-150,15,Var1C)-120)+120)*1;
出击1:IF(出击1A>1,20,0),STICK,;
出击:=(if(BARSCOUNT(CLOSE)<13,-100,0-IF(Var1E<92 AND Var1D<0,20,100))+100)*1;
出击2:IF(出击=80,30,0),STICK,;
卖出1A:=(IF(BARSCOUNT(CLOSE)<13,0,IF(Var1E<88 AND Var1D>0,55,0)));
卖出1:if(卖出1A=55,70,80),;
卖出2A:=(IF(BARSCOUNT(CLOSE)<70,120,IF(Var1A>=200 AND Var19>=150,-15,
Var1B)))*(-1);
卖出2:if(卖出2A<=15 AND 卖出2A>5 ,60,80),;
80,POINTDOT,,colorccff66;
大智慧振荡波副图指标
源码
Var18:=(HIGH+LOW+CLOSE)/3;
Var19:=(Var18-MA(Var18,14))/(0.015*AVEDEV(Var18,14));
Var1A:=(Var18-MA(Var18,70))/(0.015*AVEDEV(Var18,70));
Var1B:=IF(Var19>=150 AND Var19<200 AND Var1A>=150 AND Var1A<200,-10,0);
Var1C:=IF(Var19<=-150 AND Var19>-200 AND Var1A<=-150 AND Var1A>-200,10,0);
Var1D:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var1E:=100-ABS(Var1D);
出击1A:=(IF(BARSCOUNT(CLOSE)<70,-120,IF(Var1A<=-200 AND Var19<=-150,15,Var1C)-120)+120)*1;
出击1:IF(出击1A>1,20,0),STICK,;
出击:=(if(BARSCOUNT(CLOSE)<13,-100,0-IF(Var1E<92 AND Var1D<0,20,100))+100)*1;
出击2:IF(出击=80,30,0),STICK,;
卖出1A:=(IF(BARSCOUNT(CLOSE)<13,0,IF(Var1E<88 AND Var1D>0,55,0)));
卖出1:if(卖出1A=55,70,80),;
卖出2A:=(IF(BARSCOUNT(CLOSE)<70,120,IF(Var1A>=200 AND Var19>=150,-15,
Var1B)))*(-1);
卖出2:if(卖出2A<=15 AND 卖出2A>5 ,60,80),;
80,POINTDOT,,colorccff66;