成本0:=COST(0.5);
操盘线:ema(eMA(C,4)-EMA(成本0,246)/246,2),COLORWHITE;
VAR1:=(2*C+(H-L)/2+L)/3-EMA(COST(0.5),246)/246;
VAR3:=2*EMA(LLV(VAR1,4),15)-VAR1;
黄金线:MA(3*VAR1-2*SMA(VAR1,2,1),26),COLORYELLOW,LINETHICK2;
{ _飞狐股票指标公式}
乾坤线:EMA(黄金线-(eMA(VAR1,2)-黄金线),2);
PARTLINE(乾坤线>黄金线,黄金线),COLOR00AA99,LINETHICK2;
PARTLINE(乾坤线>黄金线,乾坤线),COLORAAAA00;
PARTLINE(乾坤线<黄金线,乾坤线),COLORRED;