文华指标公式--四方法则K线
[code]MA50:EMA(CLOSE,49);
STICKLINE(CLOSE<MA50&&CLOSE>OPEN,OPEN,CLOSE,COLORCYAN,1);
STICKLINE(CLOSE<MA50&&CLOSE<=OPEN,OPEN,CLOSE,COLORCYAN,0);
DRAWLINE(CLOSE<MA50,HIGH,CLOSE>OPEN,CLOSE,COLORCYAN);
DRAWLINE(CLOSE<MA50,LOW,CLOSE>OPEN,OPEN,COLORCYAN);
DRAWLINE(CLOSE<MA50,HIGH,CLOSE<=OPEN,LOW,COLORCYAN);
STICKLINE(CLOSE>MA50&&CLOSE>=OPEN,OPEN,CLOSE,COLORYELLOW,1);
STICKLINE(CLOSE>MA50&&CLOSE<OPEN,OPEN,CLOSE,COLORYELLOW,0);
DRAWLINE(CLOSE>MA50,HIGH,CLOSE>=OPEN,CLOSE,COLORYELLOW);
DRAWLINE(CLOSE>MA50,LOW,CLOSE>=OPEN,OPEN,COLORYELLOW);
DRAWLINE(CLOSE>MA50,LOW,CLOSE<OPEN,CLOSE,COLORYELLOW);
DRAWLINE(CLOSE>MA50,HIGH,CLOSE<OPEN,OPEN,COLORYELLOW);
STICKLINE(HIGH>=HHV(CLOSE,19)&&CLOSE>OPEN,OPEN,CLOSE,COLORRED,1);
STICKLINE(HIGH>=HHV(CLOSE,19)&&CLOSE<=OPEN,OPEN,CLOSE,COLORRED,0);
STICKLINE(LOW<=LLV(CLOSE,19)&&CLOSE>OPEN,OPEN,CLOSE,COLORGREEN,1);
STICKLINE(LOW<=LLV(CLOSE,19)&&CLOSE<=OPEN,OPEN,CLOSE,COLORGREEN,0);
DRAWLINE(HIGH>=HHV(CLOSE,19),HIGH,CLOSE>=OPEN,CLOSE,COLORRED);
DRAWLINE(HIGH>=HHV(CLOSE,19),LOW,CLOSE>=OPEN,OPEN,COLORRED);
DRAWLINE(HIGH>=HHV(CLOSE,19),HIGH,CLOSE<OPEN,LOW,COLORRED);
DRAWLINE(LOW<=LLV(CLOSE,19),HIGH,CLOSE<=OPEN,LOW,COLORGREEN);
DRAWLINE(LOW<=LLV(CLOSE,19),HIGH,CLOSE>OPEN,CLOSE,COLORGREEN);
DRAWLINE(LOW<=LLV(CLOSE,19),LOW,CLOSE>OPEN,OPEN,COLORGREEN);
[/code]
页:
[1]