飞狐振荡波Ⅱ副图指标
源码
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,STICK,COLORRED,Linethick2;
出击1:IF(出击1A>1,20,0),STICK,;
出击:=(if(BARSCOUNT(CLOSE)<13,-100,0-IF(Var1E<92 AND Var1D<0,20,100))+100)*1,STICK,COLORMAGENTA;
出击2:IF(出击=80,30,0),STICK,;
卖出1A:=(IF(BARSCOUNT(CLOSE)<13,0,IF(Var1E<88 AND Var1D>0,55,0))),STICK,colorccffcc,;
卖出1:STICKLINE(卖出1A=55,80,70,1,1),STICK;
卖出2A:=(IF(BARSCOUNT(CLOSE)<70,120,IF(Var1A>=200 AND Var19>=150,-15,
Var1B)))*(-1),STICK,colorccff66;
卖出2:STICKLINE(卖出2A<=15 AND 卖出2A>5 ,80,60,1,1);
80,POINTDOT,,colorccff66;