阅读:2996回复:1
超简单的评级源码可以组合到任何主副图上
LH:=100-EMA((HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100,34);
J:=EMA(LH,21); DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))*1000/(15*AVEDEV(TYP,14)); LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; SAR1:=SAR(4,2,20); LHJY1:=LH>J; LHJY2:=DIF>DEA; LHJY3:=K>D; LHJY4:=CCI>100; LHJY5:=C>SAR1; LHJY6:=RSI1>50; LHJXY:LHJY1 + LHJY2 + LHJY3 + LHJY4 + LHJY5 + LHJY6,NODRAW; |
|
|