通达信绝无仅有长期趋势红买绿卖主图指标公式
DPZX:=EMA(C,1),;
GGZX:=/V/100;
重心:=IF(C今重心:LLV(重心,2),;
ZC1:=CONST(LLV(重心,2));
ZC2:=CONST(LLV(重心,4));
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000),,,;
买入:=XMA(VAR1,32)*(1-100/1000),,,;
多空趋势彩带:(SMA(C,6.5,1),RGB(255,97,0),SMA(C,13.5,1),RGB(0,128,0));
MA5:=MA(C,5),;
MA10:=MA(C,10),;
MA20:=MA(C,20),;
ZB1:=EMA(C,34);
长期趋势:EMA(ZB1,13),,;
SQX:=(C-MA(CLOSE,13))*100;
DIFF:=EMA(MA(SQX,7),1),;
DEA:=EMA(DIFF,7),;
MACD:=(DIFF-DEA)*2,;
专用:IF((CROSS(DIFF,DEA) AND :=IF((3,16,1)=0 AND HIGH>LOW+0.04,4,0);
:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)0 OR 买2B>0 ,LOW*0.99,),,,;
红买绿卖:IF(CROSS(BB,买1B),LOW*0.99,),,,;
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
TTJ:=CROSS(FF,MA15);
上:=EMA(C,3),,;
中:=EMA(C,5),,;
下:=EMA(中,5),,;
QQ:= CREF(上,1) AND REF(上,1)V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
MA1Q:=MEMA(CLOSE,5);
MA2Q:=ATAN((MA1Q/REF(MA1Q,1)-1)*100)*180/3.1416;
MA3Q:=IF(MA2Q>0,MA2Q,MA2Q);
MA5Q:=MA(CLOSE,5),;
MA13:=MA(CLOSE,13),,;
VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
C>=REF(C,1) AND C>=REF(C,2);
VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)REF(C,1)=LLV(C,4) AND CREF(C,1)=HHV(C,4) AND :=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
REF(C,2)>=REF(C,4) AND :=V5>REF(V5,1) AND REF(V5,1)VAR07:=(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;
VAR08:=VAR07 AND COUNT(VAR06,2);
VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
VAR10:=EMA(MA(C,13),13);
VAR11:=((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT((VAR09,MA(VAR09,2)))=1,5);
VAR12:=((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND
CROSS(MA(VAR09,2),VAR09))=1,1);
VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
VAR14:=(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
VAR16:=VAR08 AND NOT(REF(VAR08,1));
RSVQ:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSVQ,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
买1:=(VAR14 OR VAR15) AND VAR11;
买2:=(VAR14 OR VAR15) AND VAR04;
买3:=(VAR14 OR VAR15) AND VAR02;
买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);
买5:=(金叉 AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);
TTJ0:=VAR16;
TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;
XG0:=TTJ AND TTJ0;
XG1:=TTJ AND TTJ1;
XG11:=XG0 OR XG1;
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)REF(PL5,1));
走强2:=(PL10走弱2:=(PL10>REF(PL10,1));
走强3:=(PL20走弱3:=(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
:=IF(:=IF(:=EN2 AND ZTJZ5=1;
TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;
TJ33:=EN2 AND =1;
TJ44:=EN3 AND =1;
TJ55:=EN2 AND PL20>REF(PL20,1) AND =2;
XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;
XGQ:=XG11 OR XG22;
放心买:XGQ,,;
(XGQ,L*0.99,'●放心买'),;
MA1:=MA(C,5);
MA2:=MA(C,10);
MA3:=MA(C,21);
破N:=REF(MA1,1)REF(MA2,1);
试摸N:=C>MA(C,10) OR H>=MA2;
再上N:=C>O AND REF(C,1)< MA(C,10) AND 试摸N AND 破N AND MA(C,21)有行情:=再上N AND (CROSS(C,长期趋势) OR CROSS(L,长期趋势) OR CROSS(H,长期趋势));
(有行情,LOW*0.98,'●'),;
:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
:=((REF(,1) AND (CLOSE = REF(CLOSE,2)));
:=((REF(,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE = REF(CLOSE,1))) AND (CLOSE 0 AND H0
AND H>长期趋势,(LOW*0.99),5);
:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
短底:=EMA(,5);
支撑:=HHV(短底,60);
MAN:=(SMA(HIGH,21,2) * 1.05);
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
中D:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);
X1D:=EMA(中D,10);
RSVD:=SMA(下档线,3,1);
K大:=SMA(RSVD,3,1);
D大:=((3 * RSVD) - (2 * K大));
J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(J12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
压力位:=IF(CROSS(D24,D大),HIGH,REF(HIGH,(CROSS(D24,D大)))),;
牛浮面:=CROSS(CLOSE,MA20) AND HIGH < 压力位 AND OPEN < MA20
AND HIGH < 支撑 AND MAN - REF(MAN,1) > 0 AND X1D - REF(X1D,1)>0 AND
D大 < 63 AND MA20 - REF(MA20,1) > 0,;
(牛浮面,L,'●牛浮面'),;
全绿K2:=C>卖出 OR (H>卖出 AND O>C);
(全绿K2,C,O,3,0),;
(全绿K2,C,O,2,0),;
(全绿K2,C,O,1,0),;
(C>=O,C,H,0,0),;
(C>=O,O,L,0,0),;
(((,ZC1,ZC1,120,0),,;
(=15,ZC1*1.02,'关键价位'),;
(,ZC1*1.02,ZC1+1000),;
(,ZC2,ZC2,120,0),,;
(=15,ZC2*0.99,'支撑价位'),;
(,ZC2*0.99,ZC2+1000),;
决策:=IF(,压力位,),;
( ,决策,决策,60,1),,;
底部:=LLV(HIGH,30),;
超跌:=IF(,底部,),;
( ,超跌,超跌,60,1),,;
(,REF(今重心,1),REF(今重心,1),10,0),;