阻击龙头主图指标,完整主图
2020/1/16 19:16:46
公式编写说明:
买:=EMA(((100 * (CLOSE - LLV(LOW,34))) / (HHV(HIGH,34) - LLV(LOW,34))),3);卖:=SMA((((HHV(HIGH,34) - CLOSE) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),2,1);STICKLINE((VAR1 >= 0),买线,卖线,0.5,0),colorred;STICKLINE((VAR1 < 0),买线,卖线,0.5,0),colorblue;大盘:=EMA(((100 * (INDEXC - LLV(INDEXL,34))) / (HHV(INDEXH,34) - LLV(INDEXL,34))),3);换手:=(((VOL / CAPITAL) * 100) >= 2);涨:=(((CLOSE / REF(CLOSE,1)) - 1) * 100);A:=(CROSS(买,卖) AND (买 >= 45));D:=(CROSS(买,75) AND (涨>= 2));DD:=(CROSS(买,20) AND (涨>= 2));DRAWTEXT((A > 0),(LOW * 0.99),'←阻击龙头'),LINETHICK0,colorFFFF00;DRAWTEXT((DD > 0),(LOW * 1.05),'←短线金股'),LINETHICK0,colorred;TJ:=((CLOSE > OPEN) OR ((CLOSE = OPEN) AND (CLOSE > REF(CLOSE,1))));STICKLINE(TJ,LOW,HIGH,0.8,0),colorred;STICKLINE(TJ,OPEN,CLOSE,8,0),colorred;STICKLINE(TJ,OPEN,CLOSE,6,0),color8B6AFD;STICKLINE(TJ,OPEN,CLOSE,2,0),colorC6B6FE;STICKLINE(TJ,OPEN,CLOSE,1,0),colorF9F7FF;STICKLINE(NOT(TJ),LOW,HIGH,0.1,0),colorFF0000;STICKLINE(NOT(TJ),OPEN,CLOSE,8,0),colorFF0000;STICKLINE(NOT(TJ),OPEN,CLOSE,6,0),colorFF7578;STICKLINE(NOT(TJ),OPEN,CLOSE,2,0),colorFFBFC1;STICKLINE(NOT(TJ),OPEN,CLOSE,0.5,0),colorFFFFF7;但希望高手能帮我把下面这段加进其它主图上,现我加进去后,会更改其它主图上面,会产生均线线条变形。买:=EMA(((100 * (CLOSE - LLV(LOW,34))) / (HHV(HIGH,34) - LLV(LOW,34))),3);卖:=SMA((((HHV(HIGH,34) - CLOSE) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),2,1);大盘:=EMA(((100 * (INDEXC - LLV(INDEXL,34))) / (HHV(INDEXH,34) - LLV(INDEXL,34))),3);换手:=(((VOL / CAPITAL) * 100) >= 2);涨:=(((CLOSE / REF(CLOSE,1)) - 1) * 100);A:=(CROSS(买,卖) AND (买 >= 45));D:=(CROSS(买,75) AND (涨>= 2));DD:=(CROSS(买,20) AND (涨>= 2));DRAWTEXT((A > 0),(LOW * 0.99),'←阻击龙头'),LINETHICK0,colorFFFF00;DRAWTEXT((DD > 0),(LOW * 1.05),'←短线金股'),LINETHICK0,colorred;
公式源码回答:
买:=EMA(((100 * (CLOSE - LLV(LOW,34))) / (HHV(HIGH,34) - LLV(LOW,34))),3);
卖:=SMA((((HHV(HIGH,34) - CLOSE) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),2,1);
大盘:=EMA(((100 * (INDEXC - LLV(INDEXL,34))) / (HHV(INDEXH,34) - LLV(INDEXL,34))),3);
换手:=(((VOL / CAPITAL) * 100) >= 2);
涨:=(((CLOSE / REF(CLOSE,1)) - 1) * 100);
A:=(CROSS(买,卖) AND (买 >= 45));
D:=(CROSS(买,75) AND (涨>= 2));
DD:=(CROSS(买,20) AND (涨>= 2));
DRAWTEXT((A > 0),(LOW * 0.99),'←阻击龙头'),colorFFFF00;
DRAWTEXT((DD > 0),(LOW * 1.05),'←短线金股'),colorred;
投 股票网 www .tou18.cn
股市公式下载推荐