气垫 转载和谐完全加密通达信指标!

[复制链接]
查看45 | 回复0 | 2022-6-27 22:28:03 | 显示全部楼层 |阅读模式

 {公式名称: 气垫

公式描述: 
无参数
公式类型: 条件选股公式-其他类型
公式版本: 1
 
参数精灵:无
用法注释:无
公式源码:}
VAR1:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN,VOL);
VAR2:=VAR1*10000/FINANCE(7);
VAR3:=AMOUNT/VOL/100;
VAR4:=CONST(BARSLAST(VOL=HHV(VOL,180)));
VAR5:=IF(CURRBARSCOUNT<=VAR4+1,CONST(REF(VAR3,VAR4)),DRAWNULL);
VAR6:=CONST(BARSLAST(INDEXA=HHV(INDEXA,180)));
VAR7:=IF(CURRBARSCOUNT<=VAR6+1,CONST(REF((INDEXC+INDEXO+INDEXH+INDEXL)/4,VAR6)),DRAWNULL);
VAR8:=IF(CLOSE>500,VAR7,VAR5);
{www.70822.com}
VAR9:=MA(CLOSE,5);
VAR10:=MA(CLOSE,6);
VAR11:=MA(CLOSE,7);
VAR12:=MA(CLOSE,8);
VAR13:=MA(CLOSE,9);
VAR14:=MA(CLOSE,10);
VAR15:=MA(CLOSE,11);
VAR16:=MA(CLOSE,12);
VAR17:=MA(CLOSE,13);
VAR18:=MA(CLOSE,14);
VAR19:=MA(CLOSE,15);
VAR20:=MA(CLOSE,16);
VAR21:=MA(CLOSE,17);
VAR22:=MA(CLOSE,18);
VAR23:=MA(CLOSE,19);
VAR24:=MA(CLOSE,20);
VAR25:=MA(CLOSE,21);
VAR26:=MA(CLOSE,22);
VAR27:=MA(CLOSE,23);
VAR28:=MA(CLOSE,24);
VAR29:=MA(CLOSE,25);
VAR30:=MA(CLOSE,26);
VAR31:=MA(CLOSE,27);
VAR32:=MA(CLOSE,28);
VAR33:=MA(CLOSE,29);
VAR34:=MA(CLOSE,30);
VAR35:=MA(CLOSE,31);
VAR36:=MAX(MAX(MAX(MAX(VAR9,VAR10),VAR11),VAR12),VAR13);
VAR37:=MAX(MAX(MAX(MAX(VAR14,VAR15),VAR16),VAR17),VAR18);
VAR38:=MAX(MAX(MAX(MAX(VAR19,VAR20),VAR21),VAR22),VAR23);
VAR39:=MAX(MAX(MAX(MAX(MAX(VAR24,VAR25),VAR26),VAR27),VAR28),VAR29);
VAR40:=MAX(MAX(MAX(MAX(MAX(VAR30,VAR31),VAR32),VAR33),VAR34),VAR35);
VAR41:=MAX(MAX(MAX(MAX(VAR36,VAR37),VAR38),VAR39),VAR40);
VAR42:=IF(VAR41=VAR9,5,IF(VAR41=VAR10,6,IF(VAR41=VAR11,7,IF(VAR41=VAR12,8,IF(VAR41=VAR13,9,IF(VAR41=VAR14,10,IF(VAR41=VAR15,11,IF(VAR41=VAR16,12,IF(VAR41=VAR17,13,IF(VAR41=VAR18,14,IF(VAR41=VAR19,15,IF(VAR41=VAR20,16,IF(VAR41=VAR21,17,IF(VAR41=VAR22,18,IF(VAR41=VAR23,19,IF(VAR41=VAR24,20,IF(VAR41=VAR25,21,IF(VAR41=VAR26,22,IF(VAR41=VAR27,23,IF(VAR41=VAR28,24,IF(VAR41=VAR29,25,DRAWNULL)))))))))))))))))))));
VAR43:=IF(VAR41=MA(CLOSE,VAR42),VAR42,IF(VAR41=VAR30,26,IF(VAR41=VAR31,27,IF(VAR41=VAR32,28,IF(VAR41=VAR33,29,IF(VAR41=VAR34,30,IF(VAR41=VAR35,31,32)))))));
VAR44:=IF(BARSCOUNT(CLOSE)>=31,(VAR41*3+MA(CLOSE,31))/4,MAX(MA(CLOSE,5),MA(CLOSE,BARSCOUNT(CLOSE))));
VAR45:=VAR44;{www.70822.com}
VAR46:=VAR1=HHV(VAR1,VAR43);
VAR47:=REF(REF(LOW,BARSLAST(VAR46)),1);
VAR48:=REF(REF(VAR3,BARSLAST(VAR46)),1);
VAR49:=REF(REF(HIGH,BARSLAST(VAR46)),1);
VAR50:=MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE)=HHV(MAX(OPEN,CLOSE)/MIN(OPEN,CLOSE),VAR43);
VAR51:=OPEN/CLOSE=HHV(OPEN/CLOSE,VAR43);
VAR52:=CLOSE/OPEN=HHV(CLOSE/OPEN,VAR43);
VAR53:=VAR8;
VAR54:=REF(HHV(VAR3,7),BARSLAST(CROSS(VAR14,VAR9)));
VAR55:=REF(LLV(VAR3,7),BARSLAST(CROSS(VAR9,VAR14)));
VAR56:=IF(CURRBARSCOUNT<=10,CONST(VAR54),IF(VAR54=CONST(VAR54),VAR54,DRAWNULL));
VAR57:=IF(CURRBARSCOUNT<=10,CONST(VAR55),IF(VAR55=CONST(VAR55),VAR55,DRAWNULL));
VAR58:=REF(MIN(REF(LOW,BARSLAST(VAR46)),REF(HIGH,BARSLAST(VAR46)+1)),1);
气垫:BARSLAST(CLOSE<VAR54)>=10 AND VAR43<=7 AND EVERY(BETWEEN(VAR43,5,8),15) AND CLOSE>=VAR53 AND CLOSE>=VAR58;
 

p201832518145976535.jpg

p201832518145976535.jpg

20183251815827605.rar

6.35 KB, 下载次数: 0

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

20183251815827605.rar

回复

使用道具 举报

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

本版积分规则