通达信精选指标:【专用主图】指标源码
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,DRAWNULL),COLORRED,LINETHICK4; IF(B2SNAKEA:HHV(MA(B2,1),13),COLORYELLOW; VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=MA(VAR1,7); VAR3:=VAR2-MA(VAR1,7/2)<0; VAR4:=VAR2-MA(VAR1,7/2)>0; VAR5:=BARSLAST(VAR3); VAR6:=0-BARSLAST(VAR4); VAR7:=IF(VAR3<=0,VAR5,VAR6); STICKLINE(SNAKEA>B2 AND B2>SMA2,SNAKEA,B2,0,1),COLORLIBLUE; STICKLINE(SNAKEA>SMA2 AND B2VAR11:=(CLOSE*2+HIGH+LOW)/4; VAR21:=EMA(VAR11,13)-EMA(VAR11,34); VAR31:=EMA(VAR21,5); STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA; STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA; STICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((CSTICKLINE((C>O),CLOSE,OPEN,4,0),COLOR070084; STICKLINE((C>O),CLOSE,OPEN,3.4,0),COLOR0000A3; STICKLINE((C>O),CLOSE,OPEN,2.8,0),COLOR0000B7; STICKLINE((C>O),CLOSE,OPEN,2.2,0),COLOR0000CD; STICKLINE((C>O),CLOSE,OPEN,1.6,0),COLOR0000E9; STICKLINE((C>O),CLOSE,OPEN,1,0),COLOR0754E9; STICKLINE((C>O),CLOSE,OPEN,0.5,0),COLOR076EF3; STICKLINE((C>O),CLOSE,OPEN,0.2,0),COLOR077BF3; VAR2A:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2))); VAR3A:=((REF(VAR2A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR4A:=((REF(VAR3A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR5A:=((REF(VAR4A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR6A:=((REF(VAR5A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR7A:=((REF(VAR6A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAR8A:=((REF(VAR7A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VAR9A:=((REF(VAR8A,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARAA:=((REF(VAR9A,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARBA:=((REF(VARAA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VARCA:=((REF(VARBA,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2))); VARDA:=((REF(VARCA,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2))); VAREAA:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2))); 本人承诺,本人不绝对不收取任何费用,免费分享给各位粉丝朋友,各位粉丝朋友们的支持是最大的动力! 本人独创的技术和指标,不会使用或者有需要指标(全套源码)的朋友可以私信找我领取! |