通达信 盘龙蓄势主图上下轨见红就买上涨分界点 指标

2024-04-07 0 805

通达信 盘龙蓄势主图上下轨见红就买上涨分界点 指标

主图

X_1:=HHV(VOL,5);

X_2:=OPEN>CLOSE;

X_3:=CLOSE>OPEN;

X_4:=CLOSE=OPEN;

X_5:=SUM(VOL,5)/X_1;

X_6:=IF(X_5>0.3,1,0);

X_7:=IF(X_2 AND X_6,VOL,0);

X_8:=IF(X_3 AND X_6,VOL,0);

X_9:=IF(X_4 AND X_6,VOL,0);

X_10:=SUM(X_8,3);

X_11:=SUM(X_7,3);

X_12:=X_10-X_11;

STICKLINE(X_12=X_10,CLOSE,OPEN,3.05,0),COLOR000099;

STICKLINE(X_12=X_10,CLOSE,OPEN,2.2,0),COLOR0000CC;

STICKLINE(X_12=X_10,CLOSE,OPEN,1.5,0),COLORRED;

STICKLINE(X_12=X_10,CLOSE,OPEN,0.5,0),COLORYELLOW;

DRAWICON(X_12=X_10 AND REF(X_12=X_10,1)=0,LOW*0.98,30),COLORMAGENTA;

X_13:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);

X_14:=(REF(X_13,1)+REF(X_13,2)+REF(X_13,3))/3;

X_15:=(REF(X_13,1)+REF(X_13,2)+REF(X_13,3)+REF(X_13,4)+REF(X_13,5)+REF(X_13,6)+REF(X_13,7)+REF(X_13,8)+REF(X_13,9)+REF(X_13,10))/10;

X_16:=X_13<80 AND X_14<80 AND X_15<80;

X_17:=X_13>80 AND X_14>80 AND X_15>80;

X_18:=X_15<X_13;

X_19:=REF(CLOSE,1);

X_20:=WINNER(CLOSE*0.9)*100;

X_21:=MA(X_20,10);

X_22:=MA(X_20,3);

X_23:=IF(X_21>X_22,X_22,X_21);

X_24:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;

X_25:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_26:=EMA(X_25,9);

X_27:=X_25>X_26;

X_28:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;

X_29:=SMA(X_24,3,1);

X_30:=SMA(X_29,3,1);

X_31:=X_29>X_30;

X_32:=REF(CLOSE,1);

X_33:=SMA(MAX(CLOSE-X_32,0),9,1)/SMA(ABS(CLOSE-X_32),9,1)*100;

X_34:=SMA(MAX(CLOSE-X_32,0),26,1)/SMA(ABS(CLOSE-X_32),26,1)*100;

X_35:=X_33>X_34;

X_36:=SMA(X_28,3,1);

X_37:=SMA(X_36,3,1);

X_38:=X_36>X_37;

X_39:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;

X_40:=CLOSE>X_39;

X_41:=CLOSE-REF(CLOSE,1);

X_42:=100*EMA(EMA(X_41,9),9)/EMA(EMA(ABS(X_41),9),3);

X_43:=100*EMA(EMA(X_41,26),12)/EMA(EMA(ABS(X_41),26),12);

X_44:=X_42>X_43;

X_45:=X_27 AND X_31 AND X_35 AND X_38 AND X_40 AND X_44;

X_46:=EMA(EMA(CLOSE,9),9);

X_47:=100*WINNER(CLOSE*0.95);

X_48:=EMA(CLOSE,12)>EMA(CLOSE,50) AND EMA(CLOSE,20)>EMA(CLOSE,120);

X_49:=(X_46-REF(X_46,1))/REF(X_46,1)*1000;

X_50:=X_47>=50 AND COST(85)<=CLOSE AND X_49>0 AND X_49>REF(X_49,1);

X_51:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);

X_52:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

X_53:=IF(CLOSE>OPEN,X_52*(HIGH-LOW),IF(CLOSE<OPEN,X_52*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-X_52*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_52*(HIGH-LOW),0-VOL/2));

X_54:=X_53/20/1.15;

X_55:=X_54*0.55+REF(X_54,1)*0.33+REF(X_54,2)*0.22;

X_56:=EMA(X_55,8);

X_57:=EMA(X_55,3);

X_58:=X_57;

X_59:=MA(VOL,5);

X_60:=MA(VOL,10);

X_61:=X_59>=X_60;

X_62:=X_58>=0;

X_63:=X_62 AND X_61;

X_64:=X_45 OR X_63;

X_65:=CROSS(REF(CLOSE,1),CLOSE);

X_66:=WINNER(CLOSE)*100;

X_67:=REF(X_66,1)-X_66<=5;

X_68:=CROSS(X_66,REF(X_66,1)) AND X_66<20;

X_69:=X_67 OR X_66;

X_70:=X_65 AND X_69;

X_71:=(2*CLOSE+HIGH+LOW)/4;

X_72:=LLV(LOW,5);

X_73:=HHV(HIGH,5);

X_74:=IF((MA(CLOSE,5)-CLOSE)/CLOSE>0.04 AND (MA(CLOSE,10)-MA(CLOSE,5))/MA(CLOSE,5)>0.04,23,0);

X_75:=X_74=23;

X_76:=BARSLAST(X_75)=1;

X_77:=X_74<23;

X_78:=X_76 AND X_77;

X_79:=(BARSLASTCOUNT(X_74>0)=4)*30;

X_80:=X_78 OR X_79;

X_81:=EMA(VOL,13);

X_82:=EMA(AMOUNT,13);

X_83:=X_82/X_81/100;

X_84:=(CLOSE-X_83)/X_83*100;

X_85:=X_84<0-18 OR X_84<0-6;

X_86:=X_85 AND X_80;

X_87:=X_86 OR X_70;

STICKLINE(X_87 AND X_15<80 AND X_23=X_21 AND X_64,LOW,OPEN,3,0),COLORBLUE;

STICKLINE(X_87 AND X_15<80 AND X_23=X_21 AND X_64,CLOSE,OPEN,3,0),COLORMAGENTA;

X_88:=REF(LOW,1);

X_89:=SMA(ABS(LOW-X_88),3,1)/SMA(MAX(LOW-X_88,0),3,1)*100;

X_90:=EMA(IF(CLOSE*1.3,X_89*10,X_89/10),3);

X_91:=LLV(LOW,13);

X_92:=HHV(X_90,13);

X_93:=IF(MA(CLOSE,34),1,0);

X_94:=EMA(IF(LOW<=X_91,(X_90+X_92*2)/2,0),3)/618*X_93;

X_95:=IF(X_94>100,100,X_94);

X_96:=X_95>15 AND X_64;

X_97:=X_96 OR X_95=100;

STICKLINE(X_97,LOW,OPEN,3,0),COLORMAGENTA;

STICKLINE(X_97,CLOSE,OPEN,3,0),COLORBLUE;

X_98:=EMA(CLOSE,2);

X_99:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);

X_100:=IF(CROSS(X_98,X_99),LOW-0.02,DRAWNULL);

X_101:=(LOW+HIGH+CLOSE*2)/4;

X_102:=EMA(X_101,14);

X_103:=(X_102-REF(X_102,1))/REF(X_102,1)*100;

X_104:=IF(X_103>=0,X_102,DRAWNULL);

X_105:=IF(CROSS(X_100,0),5,0);

X_106:=IF(CROSS(X_104,0),10,0);

X_107:=X_105 AND X_106;

DRAWICON(X_107,LOW*0.99,1),COLORGREEN;

DRAWICON(X_107,LOW*0.98,1),COLORGREEN;

X_108:=REF(CLOSE,1);

X_109:=SMA(MAX(CLOSE-X_108,0),5,1)/SMA(ABS(CLOSE-X_108),5,1)*100;

X_110:=CROSS(80,X_109);

DRAWICON(X_110,HIGH*1.01,2),COLORGREEN;

DRAWICON(X_110,HIGH*1.02,2),COLORGREEN;

X_111:=SMA(MAX(CLOSE-X_19,0),3,1)/SMA(ABS(CLOSE-X_19),3,1)*100;

X_112:=EMA(CLOSE,3);

X_113:=EMA(CLOSE,21);

DRAWICON(CROSS(X_112,X_113),LOW*0.97,38),COLORRED;

DRAWICON(CROSS(88,X_111),HIGH*1.03,39),COLORYELLOW;

X_114:=8;

X_115:=100*EMA(EMA(X_41,X_114),X_114)/EMA(EMA(ABS(X_41),X_114),X_114);

X_116:=IF(LLV(X_115,2)=LLV(X_115,7) AND COUNT(X_115<0,2) AND CROSS(X_115,MA(X_115,2)),1,0);

DRAWICON(FILTER(X_116=1,5),LOW*0.99,7),COLORRED;

X_117:=CLOSE-REF(CLOSE,1);

X_118:=IF(CLOSE-REF(CLOSE,1)>=0,X_117,0);

X_119:=REF(CLOSE,1)-CLOSE;

X_120:=IF(CLOSE-REF(CLOSE,1)<=0,X_119,0);

X_121:=SUM(X_118,90)/SUM(X_120,90);

X_122:=100-100/(1+X_121);

X_123:=EMA(X_122,21);

X_124:=EMA(X_123,5);

X_125:=EMA(X_123,3);

X_126:=(CLOSE*2+HIGH+LOW)/4;

X_127:=EMA(X_126,13)-EMA(X_126,21);

X_128:=EMA(X_127,3);

X_129:=EMA(X_127,10);

X_130:=IF(X_128>=X_129,X_128,X_129);

X_131:=IF(X_129-X_128,X_129,X_128);

X_132:=EMA(CLOSE,7)-EMA(CLOSE,21);

X_133:=EMA(0.668*REF(X_132,1)+0.333*X_132,1);

X_134:=IF(X_132>=X_133,X_132,X_133);

X_135:=IF(X_133-X_132,X_133,X_132);

X_136:=X_130>X_131;

X_137:=X_130=X_131;

X_138:=X_134>X_135;

X_139:=X_134=X_135;

X_140:=X_139 AND X_137;

X_141:=X_138 AND X_136;

STICKLINE(X_138,HIGH,LOW,0,0),COLORRED;

STICKLINE(X_139,HIGH,LOW,0,0),COLORGREEN;

STICKLINE(X_136,OPEN,CLOSE,1,0),COLORRED;

STICKLINE(X_137,OPEN,CLOSE,1,0),COLORGREEN;

STICKLINE(X_141,OPEN,CLOSE,2,0),COLORRED;

STICKLINE(X_140,OPEN,CLOSE,2,0),COLORBLUE;

X_142:=MA(REF(HHV((CLOSE+LOW+OPEN+HIGH)/4,30),1),3);

STICKLINE(REF(COUNT(CLOSE<X_142,5)=5,1) AND CLOSE>X_142 AND CLOSE>OPEN,CLOSE,OPEN,2,0),COLORYELLOW;

DRAWICON(REF(COUNT(CLOSE<X_142,5)=5,1) AND CLOSE>X_142 AND CLOSE>OPEN,LOW*0.96,42),COLORRED;

X_143:=MA(CLOSE,60)>REF(MA(CLOSE,60),1);

X_144:=COST(50);

X_145:=WINNER(CLOSE)*100>50;

X_146:=CROSS(CLOSE,X_144);

X_147:=X_143 AND X_144 AND X_145 AND X_146 AND X_138;

STICKLINE(X_147,CLOSE,OPEN,1,0),COLORMAGENTA;

X_148:=MA(CLOSE,10);

X_149:=MA(CLOSE,54);

STICKLINE(CLOSE/REF(CLOSE,1)>=1.053 AND HIGH=CLOSE,OPEN,CLOSE,2,0),COLORYELLOW;

X_150:=EMA(CLOSE,5);

X_151:=EMA(X_150,0);

X_152:=HHV(MA(HIGH,3),2);

X_153:=LLV(MA(HIGH,3),1);

DRAWICON(X_153=X_152 AND REF(X_152,1)>REF(X_153,1) AND X_138,LOW,1);

DRAWICON(X_153<X_152 AND REF(X_153=X_152,1) AND X_139,HIGH*1.01,2);

X_154:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);

X_155:=100*(1-WINNER(CLOSE));

X_156:=100-X_155;

X_157:=CROSS(X_156,X_155);

DRAWICON(X_157,LOW,25);

X_158:=MA(CLOSE,5);

X_159:=MA(CLOSE,13);

X_160:=MA(CLOSE,34);

X_161:=X_158>REF(X_158,1) AND X_159>REF(X_159,1) AND X_160>REF(X_160,1);

X_162:=EMA(CLOSE,3);

X_163:=EMA(SLOPE(CLOSE,34)*5+CLOSE,21);

X_164:=CROSS(X_162,X_163);

X_165:=CROSS(X_162,X_163) AND X_161;

X_166:=X_164>0;

X_167:=X_165>0;

X_168:=MA(CLOSE,34);

X_169:=X_166 OR X_167;

X_170:=CLOSE>X_168 AND REF(CLOSE,1)<X_168;

X_171:=CROSS(CLOSE,MA(CLOSE,250)) AND VOL>=REF(VOL,1)*2;

X_172:=(CLOSE/REF(CLOSE,1)-1)*100>9.97 AND CROSS(CLOSE,MA(CLOSE,250));

X_173:=X_171 OR X_172 OR X_170;

X_174:=X_169 AND X_157 AND X_173 AND X_154;

STICKLINE(X_174,CLOSE,OPEN,3.05,0),COLOR000099;

STICKLINE(X_174,CLOSE,OPEN,2.2,0),COLOR0000CC;

STICKLINE(X_174,CLOSE,OPEN,1.5,0),COLORRED;

STICKLINE(X_174,CLOSE,OPEN,0.5,0),COLORYELLOW;

X_175:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

X_176:=REF(CLOSE,1);

X_177:=SMA(MAX(CLOSE-X_176,0),5,1)/SMA(ABS(CLOSE-X_176),5,1)*100;

X_178:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);

X_179:=HIGH-REF(HIGH,1);

X_180:=REF(LOW,1)-LOW;

X_181:=SUM(IF(X_179>0 AND X_179>X_180,X_179,0),10);

X_182:=SUM(IF(X_180>0 AND X_180>X_179,X_180,0),10);

X_183:=X_181*100/X_178;

X_184:=X_182*100/X_178;

X_185:=MA(ABS(X_184-X_183)/(X_184+X_183)*100,5);

X_186:=X_177+X_185;

X_187:=(X_185+REF(X_185,5))/2+X_177;

X_188:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));

X_189:=X_177-X_188;

X_190:=X_186+X_189;

X_191:=IF(CROSS(X_190,0),1,0);

X_192:=SMA(X_191,3,1);

X_193:=SMA(X_192,3,1);

X_194:=SMA(X_193,3,1);

X_195:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;

X_196:=SMA(X_195,3,1);

X_197:=SMA(X_196,3,1);

X_198:=3*X_196-2*X_197;

X_199:=LLV(X_198,2)=LLV(X_198,8);

X_200:=IF(CROSS(X_193,X_194) AND X_193<40,25,0);

X_201:=IF(CROSS(X_198,3),60,0);

X_202:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

X_203:=SMA(X_202,3,1);

X_204:=SMA(X_203,3,1);

X_205:=3*X_203-2*X_204;

X_206:=REVERSE(X_205);

X_207:=REF(MA(CLOSE,1),10)>REF(MA(CLOSE,60),10);

X_208:=IF(CROSS(X_205,X_206) AND X_207,45,0);

X_209:=IF(X_201 AND X_200,50,0);

X_210:=IF(X_201 AND X_208,66,0);

X_211:=IF(X_201 AND X_208 AND X_200,88,0);

X_212:=HHV(HIGH,34);

X_213:=LLV(LOW,34);

X_214:=EVERY(CLOSE<OPEN,4);

X_215:=EVERY(CLOSE<OPEN,3);

X_216:=X_214 OR X_215;

X_217:=REF(X_216,1) AND X_212 AND X_213 AND OPEN<MA(CLOSE,5) AND OPEN<MA(CLOSE,10) AND CLOSE>=MA(CLOSE,5) AND CLOSE>=MA(CLOSE,10);

STICKLINE(X_217,CLOSE,OPEN,3.05,0),COLOR000099;

STICKLINE(X_217,CLOSE,OPEN,2.2,0),COLOR0000CC;

STICKLINE(X_217,CLOSE,OPEN,1.5,0),COLORRED;

STICKLINE(X_217,CLOSE,OPEN,0.5,0),COLORYELLOW;

X_218:=X_209 OR X_210 OR X_211;

STICKLINE(X_218,CLOSE,OPEN,3.05,0),COLOR000099;

STICKLINE(X_218,CLOSE,OPEN,2.2,0),COLOR0000CC;

STICKLINE(X_218,CLOSE,OPEN,1.5,0),COLORRED;

STICKLINE(X_218,CLOSE,OPEN,0.5,0),COLORYELLOW;

 

副图见红就买

 

见红就买:(((MA(C,5) – L) / L) * 100),LINETHICK1,COLOR66FF00;

我买:IF(((MA(C,5) – L) / L) * 100>10,((MA(C,5) – L) / L) * 100,DRAWNULL),LINETHICK2,COLOR0000FF;

10,LINETHICK1,COLORYELLOW;

 

上下轨道副图

 

VAR2:=MA(ADVANCE-DECLINE,3)/100;

VAR3:=MA(CLOSE,5)*1.01;

VAR4:=MA(OPEN,13)*1.01;

VAR5:=(MA(HIGH,3)+MA(LOW,5)+MA(CLOSE,3)+MA(OPEN,3)+CLOSE+OPEN)/6+VAR2;

VAR6:=IF(VAR4>VAR5,VAR4,VAR5);

VAR7:=IF(VAR4<VAR5,VAR4,VAR5);

VAR8:=3/100;

下轨:MA(VAR7,5)*(1-VAR8),LINETHICK2,COLORRED;

上轨:MA(VAR6,5)*(1+VAR8),LINETHICK2,COLOR00FF11;

STICKLINE(VAR3>VAR4,VAR4,VAR3,0.01,0),LINETHICK2 COLORYELLOW;

STICKLINE(VAR3<VAR4,VAR3,VAR4,0.01,0),LINETHICK1 COLORWHITE;

STICKLINE(VAR5>VAR4,VAR5,VAR4,0.01,0)COLORMAGENTA;

STICKLINE(VAR5<VAR4,VAR4,VAR5,0.01,0)COLORCYAN;

 

金叉背离副图

 

DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:EMA(DIFF,9);

MACD:2*(DIFF-DEA),LINETHICK0;

DRAWBAND(DIFF,RGB(255,128,192),DEA,RGB(128,255,128));

STICKLINE(MACD>=0,MACD,0,2.5,1),COLORF00FF0;

STICKLINE(MACD<0,MACD,0,2.5,1),COLORWHITE;

STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.5,0 ),COLOR00AAFF;

STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.5,0 ),COLOR00BBFF;

STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR00CCFF;

STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.5,0 ),COLOR00DDFF;

STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1,0 ),COLOR00EEFF;

STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.5,0 ),COLOR00FFFF;

STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.5,0 ),COLOR0000AA;

STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.5,0 ),COLOR0011BB;

STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2,0 ),COLOR0022CC;

STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.5,0 ),COLOR0033DD;

STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1,0 ),COLOR0044EE;

STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.5,0 ),COLOR0055FF;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLORAA00BB;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLORBB11BB;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2,0 ),COLORCC22BB;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.5,0 ),COLORDD33BB;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.0,0 ),COLOREE44BB;

STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.5,0 ),COLORFF55BB;

STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLORFFAA00;

STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.5,0 ),COLORFFBB11;

STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2,0 ),COLORFFCC22;

STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.5,0 ),COLORFFDD33;

STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1,0 ),COLORFFEE44;

STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.5,0 ),COLORFFFF55;

IF(DIFF<0,DIFF,0),COLORRED,LINETHICK2;

IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK2;

IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK2;

IF(DIFF>DEA,DEA,DEA),COLORBLUE,LINETHICK2;

低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;

STICKLINE(低位金叉,0,-0.10,6,0),COLORYELLOW;

DRAWTEXT(低位金叉,-0.05,’ 低位金叉’),COLORYELLOW;

JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));

二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

STICKLINE(二次金叉,0,-0.10,6,0),COLORFF00FF;

DRAWICON(二次金叉,DEA*1.04,13) ;

DRAWTEXT(二次金叉,-0.08,’ 二次金叉’),COLORFF00FF;

A11:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A11+1)>CLOSE AND DIFF>REF(DIFF,A11+1) AND CROSS(DIFF,DEA);

STICKLINE(底背离,0,0.13,6,0),COLORRED;

DRAWTEXT(底背离,DEA,’ 底背离’),COLORRED;

A22:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A22+1)<CLOSE AND REF(DIFF,A22+1)>DIFF AND CROSS(DEA,DIFF);

DRAWTEXT(顶背离,DEA,’ 顶背离’),COLORGREEN;

A1:=DIFF<0 AND DEA<0;

A2:=A1>REF(A1,1);

A3:=BARSLAST(A2);

A4:=COUNT(DEA>0 AND DIFF>0,A3)=0;

A5:=CROSS(DIFF,DEA);{金叉}

A6:=BARSLAST(A5);

A7:=REF(A6,A6+1)+A6;

A8:=(DIFF+DEA)/2;

A9:=(HIGH+LOW)/2;

A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;

DRAWTEXT(A10,DIFF*0.95,’★金叉介入’),COLORYELLOW;

连续走强:BARSLASTCOUNT(MACD>REF(MACD,1) AND MACD>0)NODRAW;{天}

强势回调:BARSLASTCOUNT(MACD<REF(MACD,1) AND MACD>0)NODRAW;{天}

连续走弱:BARSLASTCOUNT(MACD<REF(MACD,1) AND MACD<0)NODRAW;{天};

连续反弹:BARSLASTCOUNT(MACD>REF(MACD,1) AND MACD<0)NODRAW;{天};

 

分界点副图

 

{DRAWGBK(OPEN>0,RGB(0,0,250),RGB(0,0,0),0,’02’,0);}

VOLUME:=VOL,VOLSTICK;

MAVOL5:=MA(VOLUME,5);

MAVOL21:=MA(VOLUME,21);

MAVOL65:=MA(VOLUME,65);

STICKLINE(CROSS(MAVOL5,MAVOL21),5,8,2,0),COLORWHITE;

周DIF:=(“MACD.DIF#WEEK”);

周DEA:=(“MACD.DEA#WEEK”);

周MACD:=2*(周DIF-周DEA);

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);

DEA:=EMA(DIFF,9),COLORFFFF00;

MACD:=(DIFF-DEA)*2;

A1:BARSLAST(DIFF<REF(DIFF,1)),COLOR00FFFF,LINETHICK1;

A11:A1*-1,COLOR00FFFF,LINETHICK1;

A2:BARSLAST(DEA<REF(DEA,1)),COLORRED,LINETHICK1;

A22:A2*-1,COLORRED,LINETHICK1;

DRAWBAND(A2,RGB(150,50,20),A1,RGB(150,100,150));

DRAWBAND(A22,RGB(150,100,150),A11,RGB(150,50,20));

STICKLINE(周MACD>REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORRED;

STICKLINE(周MACD<REF(周MACD,1) AND 周MACD>0,-5,5,18,0),COLORYELLOW;

STICKLINE(周MACD>REF(周MACD,1) AND 周MACD<0,-5,5,18,0),COLORLIRED;

STICKLINE(周MACD<REF(周MACD,1) AND 周MACD<0,-5,5,18,0),COLORBLUE;

STICKLINE(MACD>REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORRED;

STICKLINE(MACD>REF(MACD,1) AND MACD<0,-3,3,3.5,1),COLORLIRED;

STICKLINE(MACD<REF(MACD,1) AND MACD>0,-3,3,3.5,1),COLORYELLOW;

STICKLINE(MACD<REF(MACD,1) AND MACD<0,-3,3,3.5,1),COLORBLUE;

DIIFF:=(EMA(A1,5) – EMA(A1,10));

DEAA:=EMA(DIIFF,3);

K线动能:=(DIIFF-DEAA),COLORYELLOW;

STICKLINE((K线动能 > 0),-1,1,1.5,0),COLOR0000FF;

STICKLINE((K线动能 < 0),-1,1,1.5,0),COLOR00FF00;

STICKLINE(CROSS(DIFF,DEA),0,0.04,5,1),COLORYELLOW;

STICKLINE(CROSS(DIFF,DEA),0.04,0.08,5,0),COLORRED;

STICKLINE(CROSS(DIFF,DEA),0.08,0.12,5,1),COLORYELLOW;

STICKLINE(CROSS(DIFF,DEA),0.12,0.16,4,1),COLORRED;

STICKLINE(CROSS(DIFF,DEA),0.16,0.2,3,1),COLORRED;

STICKLINE(CROSS(DIFF,DEA),0.2,0.24,2,0),COLORWHITE;

STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED;

STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;

STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE;

STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;

MACD底背离:

STICKLINE(REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA),-25,25,0.00001,0),COLORYELLOW;

STICKLINE(A1>0 AND A2>0,A2,A1,0.00001,0),COLORFFFFFF;

STICKLINE(A1>0 AND A2>0,A22,A11,0.00001,0),COLORFFFFFF;

STICKLINE(A1>0 AND A2>0,0,A1,0.000001,0),COLORFF00FF;

STICKLINE(A1>0 AND A2>0,0,A11,0.000001,0),COLORGREEN;

DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<0,-5,’〇’),COLORCYAN;

DRAWTEXT(CROSS(DIFF,DEA) AND DIFF<0,-12,’〇’),COLORCYAN;

DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,5,’〇’),COLORGREEN;

DRAWTEXT(CROSS(DIFF,DEA) AND DIFF>0,12,’〇’),COLORGREEN;

DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,A2,’∈’),COLORGREEN;

DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,0,’∈’),COLORGREEN;

DRAWTEXT(A2>A1 AND A22<A11 AND A1=0 AND A11=0,A22,’∈’),COLORGREEN;

STICKLINE(CROSS(DIFF,DEA) AND DIFF<0,A11,0,2,0),COLORRED;

STICKLINE(CROSS(DIFF,DEA) AND DIFF>0,0,A1,2,0),COLORRED;

STICKLINE(CROSS(DEA,DIFF) AND DIFF<0,A11,0,2,0),COLORBLUE;

STICKLINE(CROSS(DEA,DIFF) AND DIFF>0,0,A1,2,0),COLORBLUE;

N:=5;M1:=5;{WWW.GPXIAZAI.COM}

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,5,1);

D:=SMA(K,M1,5);

J:=3*K-2*D;

VARB2:=(RSV/2+22)*1;

量:=EMA(VOL,13);

资金:=EMA(AMOUNT,13);

过滤:=((资金 /量) / 100);

提纯:=(((CLOSE -过滤) / 过滤) * 100);

黄金:=((提纯 < (0)) AND ZXNH);

低买:=IF(黄金 AND RSV<VARB2-2,50,0);

高卖:=IF(黄金 AND RSV>VARB2,80,120);

上涨分界:=25;

KDJ提前金叉:(CROSS(上涨分界,低买)),COLORFF00FF,NODRAW;

DRAWTEXT(KDJ提前金叉,0,’⊙’),COLORFFFFFF;

DRAWTEXT_FIX(1,0.05,0.02,0,’【大池不红君莫入,大池变黄君莫贪】’),COLORYELLOW;

DRAWTEXT_FIX(1,0.05,0.07,0,’【中池变黄小池绿,如在鱼尾逃命急】’),COLORYELLOW;

{大型股票公式,股票编程,股票技术教程投稿平台-你就是股神,网址:694.cn 备注:如果正文内容没有显示完全的,说明在附件中,请点击‘立即下载’下载该附件!}
收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

你就是股神 套装公式 通达信 盘龙蓄势主图上下轨见红就买上涨分界点 指标 https://www.694.cn/ziliaoxiazai/tongdaxin/3898.html

常见问题
  • 售后问题,如果是单独付费的部分,请联系发布者。如果是免费部分包括VIP免费部分,请参考网站帮助中心。
查看详情
  • 因为是虚拟内容,本站只审核真实性,只供学习之用。不保证收益,所以,不接受无效无用的退款理由。
查看详情

相关文章

官方客服团队

为您解决烦忧 - 24小时在线 专业服务