极限顶底和副图配通达信公式 主副图 源码附图

T :=1;
VARX := ((T * (CLOSE - LLV(LOW,27))) / (HHV(HIGH,27) - LLV(LOW,27))) * 100;
VARX1 := SMA(VARX,3,1);
VARX2 := SMA(VARX1,3,1);
VARX3 := REF(LOW,1);
VARX4 := ((SMA(ABS(LOW - VARX3),3,1)) / (SMA(MAX(LOW - VARX3,0),3,1))) * 100;
VARX5 := EMA(IF(CLOSE * 1.2,VARX4 * 10,VARX4 / 10),3);
VARX6 := LLV(LOW,30);
多空分水岭 : MA(C,17),COLOR4080FF,LINETHICK2;
EMA(HHV(C,33),2),COLORGRAY,LINETHICK3;
EMA(LLV(C,33),2),COLORGRAY,LINETHICK3;
DS := MFI.MFI;
A9 := DATETODAY(DATE);
VARX7 := HHV(VARX5,30);
VARX8 := IF(LLV(LOW,58),1,0);
筹码短期 := DMA(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7,VOL / ((SUM(AMOUNT,8) / ((AMOUNT / VOL) / 100)) / 100));
筹码中期 := DMA(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7,VOL / ((SUM(AMOUNT,13) / ((AMOUNT / VOL) / 100)) / 100));
筹码长期 := DMA(((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7,VOL / ((SUM(AMOUNT,20) / ((AMOUNT / VOL) / 100)) / 100));
DIF := EMA(EMA(CLOSE,18) - EMA(CLOSE,34),11);
MACD := EMA(EMA(DIF,11),11);
DS1 := IF(A9 > 8022,0.0122,-1 * DS);
DS2 := IF(A9 > 7422,4.58,-1 * DS);
DEF := 2 * (DIF - MACD);
MMS := (100 * EMA(EMA(MTM.MTM,6),6)) / EMA(EMA(ABS(MTM.MTM),6),6);
MMM := (100 * EMA(EMA(MTM.MTM,12),12)) / EMA(EMA(ABS(MTM.MTM),12),12);
MML := (100 * EMA(EMA(MTM.MTM,26),26)) / EMA(EMA(ABS(MTM.MTM),26),26);
AJ2 := (A9 > 146) AND (A9 < 200);
AI2 := (A9 > 696) AND (A9 < 750);
AH2 := (A9 > 1315) AND (A9 < 1365);
AA2 := (A9 > 1854) AND (A9 < 1904);
AL2 := (A9 > 3068) AND (A9 < 3118);
AK2 := (A9 > 4709) AND (A9 < 4759);
AB2 := (A9 > 5280) AND (A9 < 5320);
AC2 := (A9 > 6520) AND (A9 < 6570);
VARR1 := ((T * (HHV(HIGH,24) - CLOSE)) / (HHV(HIGH,24) - LLV(LOW,24))) * 100;
VARR2 := ((CLOSE - LLV(LOW,18)) / (HHV(HIGH,18) - LLV(LOW,18))) * 100;
VARR3 := (((2 * CLOSE) + HIGH) + LOW) / 4;
VARR4 := LLV(LOW,26);
VARR5 := HHV(HIGH,34);
VARR6 := T * (EMA(((VARR3 - VARR4) / (VARR5 - VARR4)) * 100,16));
VARR7 := SMA(SMA(VARR2,3,1) + 3,3,1);
VARR8 := EMA(VARR6,7);
AE2 := (A9 > 6828) AND (A9 < 6878);
AF2 := (A9 > 7132) AND (A9 < 7182);
AG2 := (A9 > 7341) AND (A9 < 7391);
AX2 := (A9 > 8014) AND (A9 < 8549);
VARR9 := SMA(VARR1,3,1);
AH1 := (A9 > 786) AND (A9 < 826);
AI1 := (A9 > 520) AND (A9 < 570);
AG1 := (A9 > 1360) AND (A9 < 1410);
AL1 := (A9 > 2333) AND (A9 < 2383);
AA1 := (A9 > 3826) AND (A9 < 3876);
AK1 := (A9 > 4856) AND (A9 < 4906);
AB1 := (A9 > 6142) AND (A9 < 6192);
VARR10 := ((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100;
VARR11 := ((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100;
VARR12 := ((CLOSE - MA(CLOSE,32)) / MA(CLOSE,32)) * 100;
VARR13 := ((VARR10 + VARR11) + VARR12) / 3;
VARR14 := IF(VARR13 <= -20,10,0);
VARR15 := HHV(VARR14,10);
VARR24 := LLV(LOW,36);
VARR25 := HHV(HIGH,30);
VARR26 := (EMA(((CLOSE - VARR24) / (VARR25 - VARR24)) * 4,4)) * 25;
VARB27 := (((((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100) / 2) + 22) * 1;
VARB28 := ((CLOSE - ((EMA(AMOUNT,13) / EMA(VOL,13)) / 100)) / ((EMA(AMOUNT,13) / EMA(VOL,13)) / 100)) * 100;
AC1 := (A9 > 6802) AND (A9 < 6852);
AE1 := (A9 > 6912) AND (A9 < 6962);
AF1 := (A9 > 7264) AND (A9 < 7304);
AX1 := (A9 > 7422) AND (A9 < 7499);
个股 := 5 * (POW(SMA((C - LLV(L,65)) / (HHV(H,65) - LLV(L,65)),6,1),2));
Y1 := IF(A9 < 7422,(0.5 * ((((((((((AA1 + AB1) + AC1) + AE1) + AF1) + AG1) + AH1) + AI1) + AK1) + AL1) + AX1)) * 14,DS2);
Y2 := IF(A9 < 8022,0.5 * (((((((((((AA2 + AH2) + AB2) + AC2) + AE2) + AF2) + AG2) + AI2) + AJ2) + AK2) + AL2) + AX2),DS1);
Y3 := T * CROSS(Y2,个股);
Y4 := (T * CROSS(Y1,个股)) AND (个股 > 0.6);
DRAWICON(Y3,L * 0.97,26);
DRAWICON(Y4,H * 1.03,9);
DRAWKLINE(H,O,L,C);
 


来函数检测结果如下:
该公式没有未来函数

解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图