主升浪航班,和谐源码分享(通达信公式 主图 测试图)

[复制链接]
查看15 | 回复0 | 2022-6-27 18:49:13 | 显示全部楼层 |阅读模式

 {公式名称: 主升浪航班

公式描述: 
无参数
公式类型: 技术指标公式-未知
画线方法: 主图叠加
公式版本: 0
显示小数: 缺省位数
坐标线位置: 自动
额外Y轴分界: 无
 
参数精灵:无
用法注释:无
公式源码:}
 
VAR1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
Q:DMA((2*CLOSE+LOW+HIGH)/4,VAR1),COLORMAGENTA,LINETHICK3;
VAR2:=CLOSE/Q;
VAR3:=MA(VAR2*(2*CLOSE+HIGH+LOW)/4,3);
VAR4:=(VAR3-Q)/Q/3;
VAR5:=VAR3-VAR4*VAR3;
J:IF(VAR5<=Q,Q,DRAWNULL),COLORCYAN,LINETHICK3;
A:VAR5,COLORYELLOW,LINETHICK2;
X:IF(VAR5<=Q,VAR5,DRAWNULL),COLORGREEN,LINETHICK2;
VAR6:=MA(HIGH/REF(CLOSE,1),13)*CLOSE;
VAR7:=MA(LOW/REF(CLOSE,1),13)*CLOSE;
VAR8:=FORCAST(CLOSE,3);
VAR9:=FORCAST(CLOSE,4);
VAR10:=FORCAST(CLOSE,5);
VAR11:=(VAR8+VAR9+VAR10)/3;
高点:REF(VAR6,1),COLORMAGENTA,LINETHICK0;
低点:REF(VAR7,1),COLORFF5500,LINETHICK0;
实际高点:HIGH,COLORRED,LINETHICK0;
实际低点:LOW,COLORGREEN,LINETHICK0;
明日高点:VAR6,COLORMAGENTA,LINETHICK0;
MA1:MA(CLOSE,5),COLORWHITE;
MA2:MA(CLOSE,38),COLORLIRED;
MA3:MA(CLOSE,48),COLORYELLOW;
MA4:MA(CLOSE,58),COLORBLUE;
MA5:MA(CLOSE,68),COLORGREEN;
MA6:MA(CLOSE,78),COLORCYAN;
VAR12:=IF(CURRBARSCOUNT<20 AND CLOSE<100,CONST(LLV(LOW,20)),DRAWNULL);
VAR13:=IF(CURRBARSCOUNT<20 AND CLOSE<100,CONST(HHV(CLOSE,20)),DRAWNULL);
价咯还低:VAR12+0.1;
DRAWICON(MA(LOW,20)/价咯还低<1.02 AND LOW/价咯还低<1.02,价咯还低,26);
VAR14:=STRCAT(4,STRCAT(STRCAT(STRCAT(5,HYBLOCK),STRCAT(6,DYBLOCK)),STRCAT(7,GNBLOCK)));
VAR15:=STRCAT(STRCAT(8,CON2STR(TOTALCAPITAL/1000000,2)),9);
VAR16:=STRCAT(STRCAT(10,CON2STR(CAPITAL/1000000,2)),9);
VAR17:=STRCAT(STRCAT(11,CON2STR(CAPITAL/TOTALCAPITAL*100,2)),12);
VAR18:=STRCAT(STRCAT(13,CON2STR(CAPITAL/1000000*CLOSE,2)),9);
VAR19:=STRCAT(14,CON2STR(HHV((BARSCOUNT(CLOSE)=0)*(DATE+19000000),0),0));
VAR20:=STRCAT(15,STRCAT(STRCAT(STRCAT(STRCAT(VAR15,VAR16),VAR17),VAR18),VAR19));
VAR21:=STRCAT(16,CON2STR(CLOSE/FINANCE(33),2));
VAR22:=STRCAT(17,CON2STR(CLOSE/(FINANCE(20)/FINANCE(1)),2));
VAR23:=STRCAT(18,CON2STR(CLOSE/FINANCE(34),2));
VAR24:=STRCAT(19,CON2STR(FINANCE(33)/FINANCE(34)*100,2));
VAR25:=STRCAT(20,CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
VAR26:=STRCAT(21,CON2STR(FINANCE(30)/FINANCE(20)*100,2));
VAR27:=STRCAT(22,CON2STR(FINANCE(23)/FINANCE(20)*100,2));
VAR28:=STRCAT(23,STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(VAR21,VAR22),VAR23),VAR24),VAR25),VAR26),VAR27));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.02,0,VAR14),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.09,0,VAR20),COLORMAGENTA;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,VAR28),COLORMAGENTA;
VAR29:=STRCAT(HYBLOCK,24);{分析家公式网 WWW.70822.COM}
VAR30:=STRCAT(VAR29,FGBLOCK);
VAR31:=STRCAT(VAR30,DYBLOCK);
VAR32:=STRCAT(VAR31,24);
DRAWTEXT_FIX(ISLASTBAR,0.005,0.28,0,STRCAT(VAR32,GNBLOCK)),COLORMAGENTA;
拉升成本:COST(75),COLORRED;
 

20204294105110789.png

20204294105110789.png

p20204294105945677.jpg

p20204294105945677.jpg

20204294103814041.rar

3.9 KB, 下载次数: 0

售价: 4 金钱  [记录]  [购买]

20204294103814041.rar

回复

使用道具 举报

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

本版积分规则