在线检测未来函数

通达信介入点突破主图指标公式

来源:Internet,编辑:股旁网,2024-05-08

本文指标含有选股公式如下:
股旁网此处内容已被隐藏,请输入验证码查看内容。
验证码:
请关注本站微信公众号,回复“88”,获取验证码。
提示:在微信里搜索“股旁网”或者微信扫描右侧二维码。

VAR1:=SMA(SMA(SMA((MA(C,1)),2,1),2,1),2,1);
VAR2:=((CLOSE>REF(CLOSE,1)) AND (CLOSE>REF(CLOSE,2)));
VAR3:=((REF(VAR2,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR4:=((REF(VAR3,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR5:=((REF(VAR4,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR6:=((REF(VAR5,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR7:=((REF(VAR6,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR8:=((REF(VAR7,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR9:=((REF(VAR8,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR10:=((REF(VAR9,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR11:=((REF(VAR10,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR12:=((REF(VAR11,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR13:=((REF(VAR12,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR14:=((CLOSE< REF(CLOSE,1)) AND (CLOSE< REF(CLOSE,2)));
VAR15:=((REF(VAR14,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR16:=((REF(VAR15,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR17:=((REF(VAR16,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR18:=((REF(VAR17,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR19:=((REF(VAR18,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR20:=((REF(VAR19,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR21:=((REF(VAR20,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR22:=((REF(VAR21,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR23:=((REF(VAR22,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR24:=((REF(VAR23,1) AND (CLOSE<=REF(CLOSE,1))) AND (CLOSE>=REF(CLOSE,2)));
VAR25:=((REF(VAR24,1) AND (CLOSE>=REF(CLOSE,1))) AND (CLOSE<=REF(CLOSE,2)));
VAR26:=(((((VAR14 OR VAR15) OR VAR16) OR VAR17) OR VAR18) OR VAR19);
VAR27:=(((VAR26 OR VAR20) OR VAR21) OR VAR22);
VAR28:=(REF((((VAR27 OR VAR23) OR VAR24) OR VAR25),1) AND VAR2);
VAR29:=((((VAR2 OR VAR3) OR VAR4) OR VAR5) OR VAR6);
VAR30:=((((VAR29 OR VAR7) OR VAR8) OR VAR9) OR VAR10);
VAR31:=(REF((((VAR30 OR VAR11) OR VAR12) OR VAR13),1) AND VAR14);
VAR32:=(MA(((HIGH+LOW)/5),4))-(MA(((HIGH+LOW)/5),34));
VAR33:=BARSLAST((crOSS(VAR32,0)));
VAR34:=BARSLAST((CROSS(0,VAR32)));
VAR35:=REF((CROSS(VAR32,0)),1);
VAR36:=REF((CROSS(0,VAR32)),1);
VAR37:=BARSLAST(VAR35);
VAR38:=BARSLAST(VAR36);
VAR39:=IF((VAR37< VAR38),(REF((HHV(HIGH,2)),VAR37)),(REF((LLV(LOW,2)),VAR38)));
VAR40:=(((REF(CLOSE,1))<=(REF(VAR39,1))) AND (CLOSE>VAR39)) AND (VAR33< VAR34);
VAR41:=(((REF(CLOSE,1))>=(REF(VAR39,1))) AND (CLOSE< VAR39)) AND (VAR34< VAR33);
VAR42:=VAR40 AND ((COUNT(VAR40,VAR33))=1);
VAR43:=VAR41 AND ((COUNT(VAR41,VAR34))=1);
VAR44:=VAR42 AND ((REF(BARSLAST(VAR43),1))< (REF(BARSLAST(VAR42),1)));
VAR45:=MA((AMOUNT/(vol)),13);
VAR46:=(CLOSE-VAR45)/VAR45*100;
VAR47:=MA(C,22)+2*STD(CLOSE,22);
VAR48:=MA(C,22)-2*STD(CLOSE,22);
VAR58:=(C-VAR48)/(VAR47-VAR48);
VAR59:=(REF(VAR46,1)< -15 AND REF(VAR58,1)< 0 AND VAR46>REF(VAR46,1));
条件买入:IF(LLV(MA(VAR1,8),3)< VAR1,LLV(MA(VAR1,8),3),VAR1);
IF(VAR1>(MA(VAR1,3)),VAR1,DRAWNULL),COLORRED,LINETHICK4;
IF(VAR1< (MA(VAR1,3)),VAR1,DRAWNULL),COLORGREEN,LINETHICK4;
条件卖出:HHV(MA(VAR1,1),13),COLORYELLOW;
STICKLINE(条件卖出>VAR1 AND VAR1>(MA(VAR1,3)),条件卖出,VAR1,0,1),COLORLIBLUE;
STICKLINE(条件卖出>(MA(VAR1,3)) AND VAR1< (MA(VAR1,3)),条件卖出,(MA(VAR1,3)),0,1),COLORBLUE;
STICKLINE((C>=O),OPEN,LOW,0,0),COLOR0726CA;
STICKLINE((C>=O),CLOSE,HIGH,0,0),COLOR0726CA;
STICKLINE((C< O),CLOSE,LOW,0,0),COLORDE9100;
STICKLINE((C< O),OPEN,HIGH,0,0),COLORDE9100;
STICKLINE((C< O),CLOSE,OPEN,4,0),COLORFF5B00;
STICKLINE((C< O),CLOSE,OPEN,3.4,0),COLORFF6C00;
STICKLINE((C< O),CLOSE,OPEN,2.8,0),COLORFF7B00;
STICKLINE((C< O),CLOSE,OPEN,2.2,0),COLORFF9C00;
STICKLINE((C< O),CLOSE,OPEN,1.6,0),COLORFFBE00;
STICKLINE((C< O),CLOSE,OPEN,1,0),COLORFFCC00;
STICKLINE((C< O),CLOSE,OPEN,0.3,0),COLORFFFF00;
STICKLINE((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;
STICKLINE(VAR28,O,O+(C-O)/3,4,0),COLOR1029FF;
STICKLINE(VAR28,O,O+(C-O)/3,3.4,0),COLOR1040FF;
STICKLINE(VAR28,O,O+(C-O)/3,2.8,0),COLOR1083FF;
STICKLINE(VAR28,O,O+(C-O)/3,2.2,0),COLOR10ABFF;
STICKLINE(VAR28,O,O+(C-O)/3,1.6,0),COLOR10D0FF;
STICKLINE(VAR28,O,O+(C-O)/3,1,0),COLOR10FFFF;
STICKLINE(VAR28,O,O+(C-O)/3,0.3,0),COLOR00FFFF;
STICKLINE(VAR31,O,O+(C-O)/3,4.3,0),COLOR009900;
STICKLINE(VAR31,O,O+(C-O)/3,3.2,0),COLOR00AA00;
STICKLINE(VAR31,O,O+(C-O)/3,2.4,0),COLOR00BB00;
STICKLINE(VAR31,O,O+(C-O)/3,1.7,0),COLOR00CC00;
STICKLINE(VAR31,O,O+(C-O)/3,1.1,0),COLOR00DD00;
STICKLINE(VAR31,O,O+(C-O)/3,0.5,0),COLOR00EE00;
STICKLINE(VAR31,O,O+(C-O)/3,0.2,0),COLOR00FF00;
DRAWTEXT(VAR44,(MA(VAR1,3))*0.99,'←突破'),COLORYELLOW;
STICKLINE(VAR59>0,C,O,4,0),COLORRED;
STICKLINE(VAR59>0,C,O,3.4,0),COLOR1029FF;
STICKLINE(VAR59>0,C,O,2.8,0),COLOR1040FF;
STICKLINE(VAR59>0,C,O,2.2,0),COLOR1083FF;
STICKLINE(VAR59>0,C,O,1.6,0),COLOR10ABFF;
STICKLINE(VAR59>0,C,O,1,0),COLOR10D0FF;
STICKLINE(VAR59>0,C,O,0.3,0),COLOR10FFFF;

通达信介入点突破主图指标公式

相关文章