以下是大智慧骑黄龙主图指标公式
买线:EMA(C,3);
卖线:EMA(SLOPE(C,21)*20+C,55);
线:EMA(SLOPE(C,34)*20+C,89);
STICKLINE(买线<卖线,买线,卖线,0.01,1),colorGREEN;
STICKLINE(买线>卖线,买线,卖线,0.01,1),COLORRED;
STICKLINE((卖线-线)>=0,(卖线-(卖线-线)*0.05),(卖线-(卖线- 线)*0.15),5,0),COLOR00ffff;
STICKLINE((卖线-线)>=0,(卖线-(卖线-线)*0.2),(卖线-(卖线- 线)*0.35),5,0),COLOR00ccff;
STICKLINE((卖线-线)>=0,(卖线-(卖线-线)*0.4),(卖线-(卖线- 线)*0.55),5,0),COLOR0099ff;
STICKLINE((卖线-线)>=0,(卖线-(卖线-线)*0.6),(卖线-(卖线- 线)*0.75),5,0),COLOR0066ff;
STICKLINE((卖线-线)>=0,(卖线-(卖线-线)*0.8),(卖线-(卖线- 线)*0.95),5,0),COLOR0000cc;
STICKLINE((卖线-线)<0,(线+(卖线-线)*0.05),(线+(卖线-线)*0.15),5,0),COLOR006600;
STICKLINE((卖线-线)<0,(线+(卖线-线)*0.2),(线+(卖线-线)*0.35),5,0),COLOR009900;
STICKLINE((卖线-线)<0,(线+(卖线-线)*0.4),(线+(卖线-线)*0.55),5,0),COLOR00cc00;
STICKLINE((卖线-线)<0,(线+(卖线-线)*0.6),(线+(卖线-线)*0.75),5,0),COLOR00ff00;
STICKLINE((卖线-线)<0,(线+(卖线-线)*0.8),(线+(卖线-线)*0.95),5,0),COLOR66ff00;
STICKLINE(CROSS(ma(卖线,1),ma(线,1)),ma(线,1),ma(线,1)+0.8,10,0), colorwhite,linethick2;
DRAWTEXT(CROSS(卖线,线),线+1.2,’骑龙’);
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorred;
STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),colorred;
STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0);
STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),OPEN,CLOSE,7,0);
评论(0)