通达信经传60买卖主图公式

[复制链接]
查看135 | 回复0 | 2021-8-21 07:02:44 | 显示全部楼层 |阅读模式

以下是通达信经传60买卖主图公式(无源码的请下载附件导入)

通达信经传60买卖主图公式

MA1:EMA(CLOSE,6),COLORGREEN;
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)  +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)  +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+ REF(HHJSJDA,20))/210,COLORYELLOW;
HHJSJDC:MA(HHJSJDB,5),COLORRED;
涨停:=IF(REF(C,1)*1.099-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORMAGENTA;
DRAWTEXT(CROSS(C,MA1), L*1,'←买'),COLORRED;
DRAWTEXT(CROSS(MA1,C), H*1,'←卖'),COLORGREEN;
DRAWTEXT(CROSS(EMA((EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2)-REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1))/REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1)*100,1),EMA((EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2)-REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1))/REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1)*100,2)), H*1,'.金叉'),COLORMAGENTA;
DRAWTEXT(CROSS(EMA((EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2)-REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1))/REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1)*100,2),EMA((EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2)-REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1))/REF(EMA(EMA(EMA((2*CLOSE+HIGH+LOW)/4,2),2),2),1)*100,1)), L*1,'.死叉'),COLORCYAN;

65466351.png

65466351.png

654166013.png

654166013.png

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则