龙听期货论坛's Archiver

龙听 发表于 2018-9-23 21:56

多空K线[文华指标](已修复)

参数:ZQ=24
指标公式:

[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,ZQ)&&CLOSE>OPEN,OPEN,CLOSE,COLORRED,1); STICKLINE(HIGH>=HHV(CLOSE,ZQ)&&CLOSE<=OPEN,OPEN,CLOSE,COLORRED,0); STICKLINE(LOW<=LLV(CLOSE,ZQ)&&CLOSE>OPEN,OPEN,CLOSE,COLORGREEN,1); STICKLINE(LOW<=LLV(CLOSE,ZQ)&&CLOSE<=OPEN,OPEN,CLOSE,COLORGREEN,0); DRAWLINE(HIGH>=HHV(CLOSE,ZQ),HIGH,CLOSE>=OPEN,CLOSE,COLORRED); DRAWLINE(HIGH>=HHV(CLOSE,ZQ),LOW,CLOSE>=OPEN,OPEN,COLORRED); DRAWLINE(HIGH>=HHV(CLOSE,ZQ),HIGH,CLOSE<OPEN,LOW,COLORRED); DRAWLINE(LOW<=LLV(CLOSE,ZQ),HIGH,CLOSE<=OPEN,LOW,COLORGREEN); DRAWLINE(LOW<=LLV(CLOSE,ZQ),HIGH,CLOSE>OPEN,CLOSE,COLORGREEN); DRAWLINE(LOW<=LLV(CLOSE,ZQ),LOW,CLOSE>OPEN,OPEN,COLORGREEN);
[/code]

页: [1]