均价:=(2*C+(H-L)/2+L+o)/4;
jZ:=(MA(均价,84)-MA(均价,12)*0.382),LINETHICK;
JN:=if(JZ>1,jz,(MA(均价,12)-MA(均价,84)*0.382));
走势:=(EMA((均价-jN)/jN,1)+jN*EMA(均价,12))/jN,COLORMAGENTA;
银线:=EMA(走势,6),color9999FF;
金线:EMA(银线,12),COLORYELLOW,LINETHICK2;
{ _最新股票指标公式}
rsi6:=((((SMA(MAX((EMA(走势,3)- REF(EMA(走势,3),1)),0),12,1) / SMA(Abs((EMA(走势,6)- REF(EMA(走势,6),1))),12,1)) * 100) ));
rsi24:=((((SMA(MAX((均价- ref(均价,1)),0),12,1) / SMA(ABS((均价- ref(均价,1))),24,1)) * 100) ));
rsi48:=((((SMA(MAX((均价- ref(均价,1)),0),24,1) / SMA(ABS((均价- ref(均价,1))),48,1)) * 100)));
rsi72:=((((SMA(MAX((均价- ref(均价,1)),0),72,1) / SMA(ABS((均价- ref(均价,1))),72,1)) * 100)));
趋势:=EMA((((( rsi6+rsi24+ rsi48) / 3) - rsi72) )*5,18),COLOR0000FF,LINETHICK2;
PARTLINE(趋势<REF(趋势,1),金线),COLOR00AA99,LINETHICK2;
一线希望:(EMA(金线,63)+EMA(金线,84)+EMA(金线,108))/3,COLORWHITE,LINETHICK2;
PARTLINE(C>一线希望,一线希望),COLORRED,LINETHICK2;