大智慧K线合并副图指标
源码
Var1:H-(H-3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*H,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*H,20,1),15,1)),COLORYELLOW;
Var2:H-(H-3*SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*H,20,1)+2*SMA(SMA((OPEN-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*H,20,1),15,1)),COLORYELLOW;
STICKLINE(Var1<=REF(Var2,1),REF(Var2,1),Var2,8,0),colorYELLOW;
STICKLINE(Var1>REF(Var2,1),REF(Var2,1),Var2,8,0),colorRED;
PARTLINE(Var1>REF(Var2,1),VAR1),COLORRED;
PARTLINE(Var1>REF(Var2,1),VAR2),COLORRED;
0,COLORRED;