:
{---【如风主图】指标-由往事如风QQ:******** 经海量数据分析及精准校验制作---}
日均价:=DMA(CLOSE,VOL/100);
⑤日:EMA(EMA(EMA((日均价+REF(日均价,1))/2,2),2),2),COLORFFFFFF,NODRAW;
⑩日:IF(MA((日均价+REF(日均价,1))/2,9)=DRAWNULL,EMA((日均价+REF(日均价,1))/2,9),MA((日均价+REF(日均价,1))/2,9)),COLOR00FFFF,NODRAW;
20日:EMA(EMA(EMA((日均价+REF(日均价,1))/2,2),2),16),COLORFF00FF,NODRAW;
60日:MA(CLOSE,60),COLOR00FF00,NODRAW;
半年:MA(CLOSE,120),COLORCC9999,NODRAW;
年线:MA(CLOSE,250),COLORFF8040,NODRAW;
{-------------------------如风股价趋势智能判断系统-------------------------}
智能判断线:=(REF((C*3+H+L+O)/6,1)*0.5+REF((C*3+H+L+O)/6,2)+REF((C*3+H+L+O)/6,3)*0.5)/2;
灰兰风险:=IF(C<智能判断线 AND BETWEEN(智能判断线,C,O),1,0);
阴跌区域:=IF(C<智能判断线 AND NOT(REF(C,1)=智能判断线),1,0);
银底初现:=IF(C>=智能判断线 AND BETWEEN(智能判断线,C,O),1,0);
上升区域:=IF(C>=智能判断线 AND REF(C,1)>智能判断线,1,0);
B1:=REF(CLOSE,1);
B2:=REF(CLOSE,2);
B3:=REF(CLOSE,3);
B4:=REF(CLOSE,4);
CMAX:=MAX(MAX(MAX(CLOSE,B1),B2),B3);
CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3);
持股:=(CLOSE=CMAX AND (B1>=B2 OR B1>=B3)) OR ((B1=CMAX AND (B2=CMIN OR B3=CMIN)) AND CLOSE>=B2) OR (B2=CMAX AND B3=CMIN AND CLOSE>=B1) OR (B3=CMAX AND CLOSE>=B1 AND CLOSE>=B2); 银色上升变盘:=(下跌 AND O>REF(C,1)) OR 银底初现 OR 变盘; STICKLINE(银色上升变盘 OR 银色下跌变盘,IF(银色下跌,B2,B1),C,3.1,0),COLORA0A0A0; 粉色上升变盘:=(持股 AND 买入); STICKLINE(粉色上升变盘 OR 粉色下跌变盘,B1,CLOSE,3.1,0 ),COLORAA55BB; STICKLINE(买入,B1,B2,3.1,0),COLOR00FFFF; STICKLINE(抛售,B1,B2,3.1,0),COLOR006B00; 原始K线:DRAWKLINE(HIGH,OPEN,LOW,CLOSE); STICKLINE(持股 OR 买入,O,C,3.10,0),COLORRED; STICKLINE(CLOSE STICKLINE(持股,IF(O>REF(C,1) AND C STICKLINE(买入,B1,B2,1.9,0),COLOR00BBBB; {--------------------身怀六甲孕育K线,吗BS买卖点预测------------------------} {--价量乃为指标之母,亦即先有股价、成交量,始有指标的产生,成反向推算KDJ价--} K1:=1/3*RSV+REF(K,1)/3*2; J11:=J; 拐点价:=((9/7*JX-2*REF(K1,1)+12/7*REF(D1,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),COLORA0A0A0; STICKLINE(持股 OR 买入,O,O,3.10,0),COLORRED;
变盘:=CLOSE=CMAX AND B1=CMIN;
下跌:=(CLOSE=CMIN AND (B1
抛售:=(B1=CMAX AND CLOSE
银色下跌变盘:=(B1=CMAX AND CLOSE=CMIN) OR (下跌 AND 抛售);
银色下跌:=B1=CMAX AND CLOSE=CMIN;
STICKLINE(银色上升变盘 OR 银色下跌变盘,IF(银色下跌,B2,B1),C,1.9,0),COLORC0C0C0;
STICKLINE(银色上升变盘 OR 银色下跌变盘,IF(银色下跌,B2,B1),C,0.6,0),COLORE0E0E0;
粉色下跌变盘:=(持股 AND C
STICKLINE(粉色上升变盘 OR 粉色下跌变盘,B1,CLOSE,1.9,0 ),COLORCC77DD;
STICKLINE(粉色上升变盘 OR 粉色下跌变盘,B1,CLOSE,0.6,0 ),COLORFF99FF;
STICKLINE(买入,B1,B2,3.1,0),COLOR009999;
STICKLINE(抛售,B1,B2,1.9,0),COLOR007D00;
STICKLINE(抛售,B1,B2,0.6,0),COLOR008F00;
冲高回落变盘:=(O>C AND 持股 AND C
补充:=B2
STICKLINE(下跌 OR 抛售 OR 补充,O,C,3.10,0),COLORBBFF54;
STICKLINE(买入,B1,B2,0.6,0),COLOR00DDDD;
STICKLINE(C>O,OPEN,CLOSE,2.45,0),COLOR440088;
STICKLINE(C>O,OPEN,CLOSE,1.45,0),COLOR550099;
STICKLINE(C>O,OPEN,CLOSE,0.45,0),COLOR6600AA;
身怀六甲:=(((((ABS((REF(CLOSE,1) - REF(OPEN,1))) / REF(CLOSE,1)) > 0.04)
AND ((ABS((CLOSE - OPEN)) / CLOSE) < 0.005)) AND (MAX(CLOSE,OPEN) <
MAX(REF(CLOSE,1),REF(OPEN,1)))) AND (MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1))));
DRAWTEXT(身怀六甲 AND ⑤日
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
周期限制:=PERIOD=0 OR PERIOD=1 OR PERIOD=8;
B点:=DRAWICON(CROSS(VAR2,MA(VAR3,6)) AND 周期限制=0,(LOW - (LOW*0.015)),11);
S点:=DRAWICON(CROSS(MA(VAR3,6),VAR1) AND 周期限制=0,(HIGH+(HIGH*0.005)),8);
N:=9;M1:=3;M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
D1:=1/3*K+REF(D,1)/3*2;
JJ:=3*K1-2*D1;
J昨:=REF(JJ,1);
JX:=IF(J1=-50,J11,IF(J1=-49,J昨,J1));
J拐点价:=CONST(((9/7*JX-2*REF(K1,1)+12/7*REF(D1,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9));
K高点价:=CONST(((9/7*CONST(HHV(K,BARSSINCE(C)))-2*REF(K1,1)+12/7*REF(D1,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9));
K低点价:=CONST(((9/7*CONST(LLV(K,BARSSINCE(C)))-2*REF(K1,1)+12/7*REF(D1,1))/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9));
K中间价:=(K高点价+K低点价)/2;
STICKLINE(CURRBARSCOUNT=1,K高点价,K高点价,110,0),COLORFF8000;
STICKLINE(CURRBARSCOUNT=1,K低点价,K低点价,110,0),COLORFF0080;
STICKLINE(CURRBARSCOUNT=1,K中间价,K中间价,110,0),COLOR4080FF;
STICKLINE(CURRBARSCOUNT=1,J拐点价,J拐点价,110,-1),COLOR00FFFF;
{------------【如风主图】黄金量能智能均线判断系统各均线重新补画------------}
DRAWBAND(年线,RGB(0,0,255),年线,RGB(0,0,255));
DRAWBAND(半年,RGB(128,128,192),半年,RGB(128,128,192));
DRAWBAND(60日,RGB(0,255,0),60日,RGB(0,255,0));
DRAWBAND(20日,RGB(255,0,255),20日,RGB(255,0,255));
DRAWBAND(⑩日,RGB(255,255,0),⑩日,RGB(255,255,0));
DRAWBAND(⑤日,RGB(255,255,255),⑤日,RGB(255,255,255));
STICKLINE(持股 OR 买入,C,C,3.10,0),COLORRED;
STICKLINE(下跌 OR 抛售 OR 补充,O,O,3.10,0),COLORBBFF54;
STICKLINE(下跌 OR 抛售 OR 补充,C,C,3.10,0),COLORBBFF54;
STICKLINE(C>O,O,L,0,0),COLOR3232FF;
STICKLINE(C=O,C,O,3.10,0),COLORFFFFFF;