通达信锁住主力主图指标公式
B1:=MA(C,1);
B2:=SMA(SMA(SMA(B1,2,1),2,1),2,1);
SMA2:=MA(B2,3);
三枪买入:IF(LLV(MA(B2,8),3)IF(B2>SMA2,B2,),,;
IF(B2三枪卖出:HHV(MA(B2,1),13),;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=MA(VAR1,7);
VAR3:=VAR2-MA(VAR1,7/2)VAR4:=VAR2-MA(VAR1,7/2)>0;
VAR5:=(VAR3);
VAR6:=0-(VAR4);
VAR7:=IF( AND B2>SMA2,三枪卖出,B2,0,1),;
(三枪卖出>SMA2 AND :=(CLOSE*2+HIGH+LOW)/4;
VAR21:=EMA(VAR11,13)-EMA(VAR11,34);
VAR31:=EMA(VAR21,5);
((C>=O),OPEN,LOW,0,0),;
((C>=O),CLOSE,HIGH,0,0),;
((((((((((((((((((((C>O),CLOSE,OPEN,4,0),;
((C>O),CLOSE,OPEN,3.4,0),;
((C>O),CLOSE,OPEN,2.8,0),;
((C>O),CLOSE,OPEN,2.2,0),;
((C>O),CLOSE,OPEN,1.6,0),;
((C>O),CLOSE,OPEN,1,0),;
((C>O),CLOSE,OPEN,0.5,0),;
((C>O),CLOSE,OPEN,0.2,0),;
VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));
VAR3A:=((REF(VAR2A,1) AND (CLOSE = REF(CLOSE,2)));
VAR4A:=((REF(VAR3A,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 = (REF(A27,1))) AND (CLOSE < A27)) AND (A22 < A21);
A30:=A28 AND ((COUNT(A28,A21)) = 1);
A31:=A29 AND ((COUNT(A29,A22)) = 1);
A32:=A30 AND ((REF((A31),1)) < (REF((A30),1)));
A33:=A31 AND ((REF((A31),1)) > (REF((A30),1)));
(A32,SMA2*0.99,←锁喉),;
AC:=/(VOL);
YY:=MA(AC,13);
LLL:=(C-YY)/YY*100;
MIDC := MA(CLOSE,22);
:= MIDC + 2*STD(C,22);
:= MIDC - 2*STD(C,22);
BBA:=(C-)/(-);
:=(REF(LLL,1)REF(LLL,1));
(,LOW*0.93,LOW*0.95,6,0);
(>0,C,O,4,0),;
(>0,C,O,3.4,0),;
(>0,C,O,2.8,0),;
(>0,C,O,2.2,0),;
(>0,C,O,1.6,0),;
(>0,C,O,1,0),;
(>0,C,O,0.3,0),;
(>0,LOW*0.98,$),;
(>0,LOW*0.92,探头),;
我来说两句