/*
VAR2:=SUM(((VAR1-REF(LOW,1))-(HIGH-VAR1))*VOL/100000/(HIGH-LOW),0);
VAR3:=EMA(VAR2,1);
JCS:=VAR3;
JCM:=MA(VAR3,12);
JCL:=MA(VAR3,26);
SMA10:=SMA(C,10,3);//求的10周期的柱线实体扩展指数加权移动平均。权重为3。
T1:=MMS>REF(MMS,1)&&JCS>REF(JCS,1)&&SMA10>REF(SMA10,1);
T2:=MMS<REF(MMS,1)&&JCS<REF(JCS,1)&&SMA10<REF(SMA10,1);
N1:=BARSLAST(T1)+1;
N2:=BARSLAST(T2)+1;
MAH:MA(HIGH,3),NODRAW;
MAL:MA(LOW,3),NODRAW;
MAC:MA(CLOSE,3),NODRAW;
AA:=MAX1(MAH,MAL,MAC);
BB:=MIN1(MAH,MAL,MAC);
DRAWSL(ISUP&&N1&&TASW,L-3*MINPRICE,0,1,2,COLORRED),LINETHICK7;
多止损:VALUEWHEN(ISUP&&N1&&TASW,L-3*MINPRICE),NODRAW;
AA:ISUP&&N1&&TASW&&REFX1(C>多止损,10000),NODRAW;
BB:ISUP&&N1&&TASW&&REFX1(C<多止损,10000),NODRAW;
DRAWNUMBER(ISLASTBAR,REF(L-3*MINPRICE,BARSLAST(AA)),REF(L-2*MINPRICE,BARSLAST(AA)),1,COLORRED),VALIGN1,FONTSIZE50,ALIGN0;
DRAWNUMBER(ISLASTBAR,REF(L-3*MINPRICE,BARSLAST(BB)),REF(L-2*MINPRICE,BARSLAST(BB)),1,COLORGREEN),VALIGN1,FONTSIZE50,ALIGN0;
DRAWSL(ISDOWN&&N1&&TASW,H+3*MINPRICE,0,5,2,COLORCYAN),LINETHICK7;
空止损:VALUEWHEN( ISDOWN&&N1&&TASW,H+2*MINPRICE),NODRAW;
CC:ISDOWN&&N1&&TASW&&REFX1(C<空止损,10000),NODRAW;
DRAWNUMBER(ISLASTBAR,REF(H+3*MINPRICE,BARSLAST(CC)),REF(H+2*MINPRICE,BARSLAST(CC)),1,COLORCYAN),VALIGN1,FONTSIZE50,ALIGN0;
DD:ISDOWN&&N1&&TASW&&REFX1(C>空止损,10000),NODRAW;
DRAWNUMBER(ISLASTBAR,REF(H+3*MINPRICE,BARSLAST(DD)),REF(H+2*MINPRICE,BARSLAST
AA:=REF(H*,N)=HHV(H*,2*N+1);
Q
赢顺云指标公式源码文华财经指标压力支撑顶底轨道线 来自淘豆网m.daumloan.com转载请标明出处.