佛光闪现,含斐波那契数列概念,顶底反转加减仓(通达信公式 副图 源码 测试图)

通达信免费指标 09-28 阅读:666 评论:0

佛光闪现,

本公式,包含有斐波那契数列概念,顶底,反转,加减仓,没有未来函数

准确率较高,加速率等协助研判

本人也不是专业编指标达人,不过运用还是没问题,经过实战验证后很顺手,本来是要压箱底的。

      本人觉得原指标最大的优点就是紫柱出现的买点比较精准,然后底部、顶部提示的关注点也相对提前,比较适合我这种谨慎的性格。近期在坛子里也下载了很多指标,经过逐一对比后得出以上结论。

      为了更能研判趋势,本人也拼拼凑凑的把箱底的公式加进去了,加入了变速率线、斐波那契数列。当变速率转换时,即正负交替时,斐波那契数列重新计数,意味着向上或向下动能重新开始,对于趋势,加速及惯性判断很有帮助。数列的每个数字节点,都值得去好好把握,大概率的会出现一些变盘现象。

VAR1:=1;
VAR4:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18))*100*VAR1;
变速率:(SMA(SMA(VAR4,2,1)+3*VAR1,2,1)-(MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100));
MACD2:=变速率;
TJ:=MACD2>0;T:=MACD2<0;
DRAWTEXT(BARSLAST(TJ)=1,MACD2,'1'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=2,MACD2,'2'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=3,MACD2,'3'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=5,MACD2,'5'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=8,MACD2,'8'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=13,MACD2,'13'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=21,MACD2,'21'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=34,MACD2,'34'),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=55,MACD2,'55'),COLORYELLOW;
DRAWTEXT(BARSLAST(T)=1,MACD2,'1'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=2,MACD2,'2'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=3,MACD2,'3'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=5,MACD2,'5'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=8,MACD2,'8'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=13,MACD2,'13'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=21,MACD2,'21'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=34,MACD2,'34'),COLORGREEN;
DRAWTEXT(BARSLAST(T)=55,MACD2,'55'),COLORGREEN;
趋势线: 3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2* SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1); 
天:100,COLOR9F9F5F;
地:-10,COLOR7070DB;
FFD:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
A:=EMA(FFD,3);
B:=EMA(A,2);
E:=3*A-2*B;
LOWV:=LLV(LOW,8);
HIGHV:=HHV(HIGH,8);
A3:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);
上:=EMA(A3,3);
下:=EMA(上,2);
A4:=(CLOSE-LLV(LOW,6))/(HHV(HIGH,6)-LLV(LOW,6))*100;
K:=SMA(A4,3,1);
D:=SMA(K,2.5,1);
进:K,COLORMAGENTA;
退:D,COLORGREEN;
DRAWBAND(D,RGB(10,250,10),K,RGB(250,10,10));
DRAWICON(CROSS(K,D),K,1);
DRAWICON(CROSS(D,K),D,2);
A1:=BARSLAST(REF(CROSS(E,B),1));
底:=REF(CLOSE,A1+1)>CLOSE AND E>REF(E,A1+1) AND CROSS(E,B);
A2:=BARSLAST(REF(CROSS(B,E),1));
顶:=REF(CLOSE,A2+1)B AND CROSS(B,E);
DRAWTEXT(CROSS(96,E) AND (E<=80),75,'回'),COLORFF6EC7;
DRAWTEXT(CROSS(E,1) AND (E<=20),15,'反'),COLORFF8855 ;
DRAWTEXT(底>0,5,'底'),COLORB0C4DE;
DRAWTEXT(顶>0,98,'顶'),COLOR0099FF;
财:=CROSS(A,50) AND CROSS(B,40);
STICKLINE(财,71,19,2,0),COLORFF8855;
DRAWTEXT(财,46,' 财'),COLORYELLOW;
财5:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,22);
STICKLINE(财5,71,19,2,0),COLORFF0088;
DRAWTEXT(财5,46,' 财'),COLORYELLOW;
财6:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,35);
STICKLINE(财6,71,19,2,0),COLORFF0088;
DRAWTEXT(财6,46,' 财'),COLORYELLOW;
财7:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,45);
STICKLINE(财7,71,19,2,0),COLORFF0088;
DRAWTEXT(财7,46,' 财'),COLORYELLOW;
财8:=CROSS(A,50) AND CROSS(B,50) AND CROSS(上,55.3);
STICKLINE(财8,71,19,2,0),COLORFF0088;
DRAWTEXT(财8,46,' 财'),COLORYELLOW;

版权声明

本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!

服务热线

18020657357

微信客服

微信客服