通达信四象合涨副图指标 源码 贴图

2024-10-30 11:33:00来源:本站整理浏览:287

通达信四象合涨副图指标 源码 贴图

通达信四象合涨副图指标 源码 贴图

通达信四象合涨副图指标 源码 贴图

D1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
D2:=REF(D1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D3:=REF(D2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D4:=REF(D3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D5:=REF(D4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D6:=REF(D5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D7:=REF(D6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D8:=REF(D7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D9:=REF(D8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
DA:=REF(D9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
DB:=REF(DA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
DC:=REF(DB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
DD:=CLOSE< REF(CLOSE,1) AND CLOSE< REF(CLOSE,2);
DE:=REF(DD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
DF:=REF(DE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D10:=REF(DF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D11:=REF(D10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D12:=REF(D11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D13:=REF(D12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D14:=REF(D13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D15:=REF(D14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D16:=REF(D15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D17:=REF(D16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
D18:=REF(D17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
D19:=REF(DD OR DE OR DF OR D10 OR D11 OR D12 OR D13 OR D14 OR D15 OR D16 OR D17 OR D18,1) AND D1;
D1A:=REF(D1 OR D2 OR D3 OR D4 OR D5 OR D6 OR D7 OR D8 OR D9 OR DA OR DB OR DC,1) AND DD;
CHIGU:=D1 OR D2 OR D3 OR D4 OR D5 OR D6 OR D7 OR D8 OR D9 OR DA OR DB OR DC;
CHIBI:=DD OR DE OR DF OR D10 OR D11 OR D12 OR D13 OR D14 OR D15 OR D16 OR D17 OR D18;
K线买入:=D19 ;{公式网WWW.GPXIAZAI.COM}
C1:=(100-((90*(HHV(H,14)-C))/(HHV(H,14)-LLV(L,14))));
C2:=(100-MA(((100*(HHV(H,6)-C))/(HHV(H,6)-LLV(L,6))),34));
波段买:=CROSS(C1,MA(C2,6));
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD买入:=CROSS(DIF,DEA);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
KDJ买入:=CROSS(K,D);
AA:=K线买入 AND 波段买;
BB:=K线买入 AND MACD买入;
CC:=K线买入 AND KDJ买入;
DD1:=波段买 AND MACD买入;
EE:=波段买 AND KDJ买入;
FF:=MACD买入 AND KDJ买入;
DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
MACD1:=(DIF1-DEA1)*2;
XG:=MACD1>0;
AA6:=C>MA(C,60);
四象合涨:=AA OR BB OR CC OR DD1 OR EE OR FF OR (MACD买入 AND REF(波段买,1) ) AND XG AND AA6 ;
STICKLINE(四象合涨,0,5,0.5,0),COLOR003378;
DRAWICON(四象合涨,4,11);
DRAWICON(四象合涨,3,5);
DRAWICON(四象合涨,2,13);
DRAWICON(四象合涨,1,9);
DRAWTEXT(四象合涨,4.6,'四象合涨'),COLORMAGENTA;


 

 

股票公式栏目导航

本类热门

相关公式