指标源码:
R2A:=LLV(LOW,10);
R3A:=HHV(HIGH,25);
动力线:=EMA((CLOSE-R2A)/(R3A-R2A)*4,4);
趋势:MA(动力线,2);
IF(趋势>REF(趋势,1),趋势,DRAWNULL),COLORRED;
IF(趋势<REF(趋势,1),趋势,DRAWNULL),COLORBLUE;
STICKLINE(趋势>REF(趋势,1) ,趋势 ,REF(趋势,1),1,0),COLORRED;
STICKLINE(趋势<=REF(趋势,1) ,趋势 ,REF(趋势,1),1,0),COLOR00FF00;
AA:=REF(CLOSE,1);
BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;
HHH:=BBB-LLV(BBB,10);
SS:=(MA(HHH,2)*3+HHH*13)/16;
短线买点:=IF(SS>13,MA(SS,2),SS)/6;
指标:=MACD.DIF>MACD.DEA AND MACD.DIF<0.2 AND MACD.DIF>0;
X:=MA(AMOUNT,5)/MA(V,5)/100;
R13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
R14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
R15A:=C/MA(C,60)-1;
大底:IF(CROSS(-5,R14A) AND R13A<-0.4,-0.01,-1);
减仓:IF(CROSS(R14A,-95) AND R15A<0.2 AND R15A>=0.1,0.6,1);
大底选股:
X:=MA(AMOUNT,5)/MA(V,5)/100;
R13A:=(X-MA(AMOUNT,125)/MA(V,125)/100)/X;
R14A:=MA((LLV(L,45)-C)/(HHV(H,45)-LLV(L,45))*100,3);
R15A:=C/MA(C,60)-1;
大底:IF(CROSS(-5,R14A) AND R13A<-0.4,-0.01,-1);