新版庄家:=EMA(CLOSE,12)-EMA(CLOSE,27);
通达信:=EMA(新版庄家,9);
MACD:=(2)*(新版庄家-通达信);{通达信公式-通达信指标www.gs6699.com}
庄家抬轿:=BARSLAST(REF(CROSS(新版庄家,通达信),1));
主副图:=(REF(CLOSE,庄家抬轿+1)>CLOSE) AND (新版庄家>REF(新版庄家,庄家抬轿+1)) AND CROSS(新版庄家,通达信);
STICKLINE(主副图,0,0.1,10,0),COLOR0000FF;
DRAWTEXT(主副图,0.01,'主副图'),COLORWHITE;
指标公式:=BARSLAST(REF(CROSS(通达信,新版庄家),1));
ddddq1:=(REF(CLOSE,指标公式+1)<CLOSE) AND (REF(新版庄家,指标公式+1)>新版庄家) AND CROSS(通达信,新版庄家);
STICKLINE(ddddq1,0,0.1,10,0),COLOR00FF00;
DRAWTEXT(ddddq1,0.01,'ddddq1'),COLORYELLOW;