【通达信免费源码】火焰山买入指标副图 波段 无未来函数 短线 买卖点
V1:=(C2+H+L)/410;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2(V2-V3)5.5;
主力撤: IF(V4<=0,V4,0),COLORYELLOW;
主力进: IF(V4>=0,V4,0),COLORFF00FF;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3V5-2SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盘资金进场:IF(VB>=0,VB,0),COLORRED;
大盘资金撤走:IF(VB<=0,VB,0),COLORGREEN;
V11:=3SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))100,5,1)-2SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))100,5,1),3,1);
趋势:=EMA(V3,3)-10;
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;
AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);
DRAWTEXT (AA,30,'准备现金'),COLORCC9900;
买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,4,0),COLOR0099FF;
BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;
DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;
卖临界: STICKLINE(趋势线>90 AND 趋势线>REF(趋势线,1),100,95,15,1),COLORFFFF00;
顶:FILTER(趋势线>90 AND 趋势线<REF(趋势线,1) AND 主力进<REF(主力进,1),8);
DRAWTEXT( 顶,60,'逃顶'),COLORYELLOW;
CC:=(趋势线>=90 AND V12) AND FILTER((趋势线>=90 AND V12),10);
STICKLINE(大盘资金进场 AND 趋势线<13,0,30,4,0),COLORRED;
STICKLINE(大盘资金撤走 AND 趋势线>90,0,30,4,0),COLORGREEN;
STICKLINE(主力进 AND 趋势线<13,0,40,4,0),COLORFF00FF;
STICKLINE(主力撤 AND 趋势线>90,0,40,4,0),COLORBLUE;
V13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
V14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
V15:=MAX(EMA(V13,2)-EMA(V14,5),0)*200;
V16:=EMA(V15,5);
波浪峰:V16,STICK,COLORFF00FF;
STICKLINE(V16<REF(V16,1),0,V16,1,0),COLOR00FF00;
VAR1:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR40.96+VAR50.96+VAR60.96+VAR10.558+VAR20.558+VAR30.558)/6,21);
VAR8:=EMA((VAR41.25+VAR51.23+VAR61.2+VAR10.55+VAR20.55+VAR30.65)/6,21);
VAR9:=EMA((VAR41.3+VAR51.3+VAR61.3+VAR10.68+VAR20.68+VAR30.68)/6,21);
VAR10:=IF(MA(CLOSE,58),1,0);
VARA:=EMA((VAR73+VAR82+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(CLOSE1.35<=VARA,VARC10,VARC/10),3);
VARE:=LLV(LOW,30);
VARF:=HHV(VARD,30);
火焰山: EMA(IF(LOW<=VARE,(VARD+VARF2)/2,0),3)/618VAR10,COLORRED;
火焰: STICKLINE(火焰山>0,0,火焰山,4,1);
今量:火焰山;
STICKLINE(火焰山>0,0,今量*1.2,8,0), COLOR0000FF;
STICKLINE(火焰山>0,0,今量*0.8,8,0), COLOR0066FF;
STICKLINE(火焰山>0,0,今量*0.6,8,0),COLOR0099FF;
STICKLINE(火焰山>0,0,今量*0.4,8,0), COLOR00CCFF;
STICKLINE(火焰山>0,0,今量*0.2,8,0), COLOR00FFFF;
VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR31:=REF(CLOSE,1);
VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(ABS(CLOSE-VAR31),5,1)*100;
VAR33:=(HIGH+LOW+CLOSE)/3;
VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14));
VA1:=REF(CLOSE,1);
VA2:=SMA(MAX(CLOSE-VA1,0),7,1)/SMA(ABS(CLOSE-VA1),7,1)*100,COLORYELLOW;
地:IF(VA2<20,75,20),COLORRED;
天:IF(VA2>80,60,80),COLORFFFF50;
VAR2↑:STICKLINE(FILTER(REF(VA2,1)<20 AND VA2>REF(VA2,1),5),20,-20,4,0),COLORRED;
VAR2↓:STICKLINE(FILTER(REF(VA2,1)>80 AND VA2<REF(VA2,1),5),60,80,3,0),COLORFFFF50;
DRAWTEXT(FILTER(REF(VA2,1)<20 AND VA2>REF(VA2,1),5),-20 ,'买入' ),COLORFFFFFF;
DRAWTEXT(FILTER(REF(VA2,1)>80 AND VA2<REF(VA2,1),5),85 ,'卖出' ),COLORFFFFFF;
80,COLORGREEN;
20,COLORRED;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!