C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- Var1:=(HIGH+LOW+OPEN+CLOSE)/4;
- Var3:=2*EMA(LLV(Var1,7),10)-Var1;
- 黄金线:MA(3*Var1-2*SMA(Var1,2,1),12),coloryellow;
- 乾坤线:3*Var3-2*SMA(Var3,10,1),COLORGREEN;
- x2:=C;
- x3:=黄金线;
- stickline(x2>=x3,low,high,0.1,0),colorred;
- stickline(x2>=x3,close,open,4.5,0),color0000AA;
- stickline(x2>=x3,close,open,3,0),color0000CC;
- stickline(x2>=x3,close,open,2,0),color0000DD;
- stickline(x2>=x3,close,open,1,0),color0000FF;
- stickline(x2<x3,close,open,1,0),colorEEEE00;
- stickline(x2<x3,close,open,2,0),colorDDDD00;
- stickline(x2<x3,close,open,3,0),colorCCCC00;
- stickline(x2<x3,close,open,4.5,0),colorAAAA00;
- stickline(x2<x3,low,high,0.1,0),colorFFff00;
- stickline(cross(C,乾坤线),open,close,3.5,0),coloryellow;
- stickline(cross(乾坤线,C),open,close,3.5,0),color00ff00;