杨柳657 发表于 2023-4-27 14:50:42

通达信跟庄趋势指标公式

每天早上8:30分准时更新--最新股票指标,期待您的阅读评价

X_1:=IF(CLOSE>REF(CLOSE,1),AMOUNT,-AMOUNT);
N1:SUM(IF(CLOSE=REF(CLOSE,1),0,X_1),0)/100000000,NODRAW,COLORRED,LINETHICK2;
X_2:=MA(N1,10);
X_3:=HHV(N1,20);
X_4:=LLV(N1,20);
X_5:=REF(N1,1);
X_6:=1221231;
X_7:=IF(DATE stICKLINE(N1>X_2,N1*X_7,X_5*X_7,3,0),COLORRED;
STICKLINE(N1 X_8:=LLV(N1,20)+(HHV(N1,20)-LLV(N1,20))/1000*750;
庄家运作区:REF(X_8*X_7,1),DOTLINE,COLORRED;
X_9:=LLV(N1,20)+(HHV(N1,20)-LLV(N1,20))/1000*500;
庄家洗盘区:REF(X_9*X_7,1),DOTLINE,COLORCYAN;
X_10:=LLV(N1,20)+(HHV(N1,20)-LLV(N1,20))/1000*250;
庄家杀跌区:REF(X_10*X_7,1),DOTLINE,COLORGREEN;
X_11:=LLV(N1,60)+(HHV(N1,60)-LLV(N1,60))/1000*500;
牛庄线:REF(X_11*X_7,1),COLORWHITE,LINETHICK2;
IF(N1>牛庄线,牛庄线,DRAWNULL),COLORRED,LINETHICK2;
IF(N1<牛庄线,牛庄线,DRAWNULL),COLORGREEN,LINETHICK2;
STICKLINE(N1>庄家运作区 AND N1>X_2,N1*X_7,X_5*X_7,3,0),COLORMAGENTA;
增减值:(N1/REF(N1,1)-1)*100*X_7,NODRAW,COLORRED;
量能比:(AMOUNT/REF(AMOUNT,1)-1)*100,NODRAW,COLORRED;
累积量比:AMOUNT/100000000/N1*100*X_7,NODRAW,COLORMAGENTA;
均值:MA(增减值,3)*X_7,NODRAW,COLORWHITE;
天数:BArslAST(均值<0)-BARSLAST(均值>0),NODRAW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1>庄家运作区 AND N1>X_2),0,0,0,17),COLORMAGENTA;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1>庄家运作区 AND N1>X_2),0.1,0,0,18),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1>庄家运作区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1>庄家运作区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家运作区 AND N1>庄家洗盘区 AND N1>X_2),0,0,0,21),COLORCYAN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家运作区 AND N1>庄家洗盘区 AND N1>X_2),0.1,0,0,22),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家运作区 AND N1>庄家洗盘区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家运作区 AND N1>庄家洗盘区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家洗盘区 AND N1>庄家杀跌区 AND N1>X_2),0,0,0,25),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家洗盘区 AND N1>庄家杀跌区 AND N1>X_2),0.1,0,0,26),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家洗盘区 AND N1>庄家杀跌区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家洗盘区 AND N1>庄家杀跌区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家杀跌区 AND N1>X_2),0,0,0,29),COLORGREEN;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家杀跌区 AND N1>X_2),0.1,0,0,30),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家杀跌区 AND N1 DRAWTEXT_FIX(CURRBARSCOUNT=1 AND (N1<庄家杀跌区 AND N1 X_12:=X_6-1000000;
到期日:X_12,NODRAW,COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND 1>0,0,0.95,0,15),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND 1>0,0.05,0.95,0,到期日),COLORYELLOW;







雷JY 发表于 2023-5-3 02:13:13

看帖回帖是美德!:lol

海的感受刂 发表于 2023-7-14 14:22:21

一切尽在不言中,谢谢!

渭北果农 发表于 2023-7-16 17:32:39

点赞楼主!

想施鹞白 发表于 2023-8-22 23:59:28

太棒了吧,真的很好

山东理理z 发表于 2023-8-29 08:58:22

感谢!

静254 发表于 2023-11-4 00:20:40

多多点赞好好学习

爱上北京2017 发表于 2024-2-2 15:02:16

谢谢了呀,辛苦了呀,支持呀!

猛的一夏的d 发表于 2024-2-16 21:25:47

多谢分享下载收藏了
页: [1]
查看完整版本: 通达信跟庄趋势指标公式