一呼一吸之间 发表于 2022-11-2 10:39

原创指标公式--筹码主峰线

FH:=COST(99);
FL:=COST(1);
WWD:=FH-FL;
SF:=WWD/10;
F10:=FH;
F09:=9*SF+FL;
F08:=8*SF+FL;
F07:=7*SF+FL;
F06:=6*SF+FL;
F05:=5*SF+FL;
F04:=4*SF+FL;
F03:=3*SF+FL;
F02:=2*SF+FL;
F01:=1*SF+FL;
F00:=FL;
W10:=100*(WINNER(F10)-WINNER(F09));
W09:=100*(WINNER(F09)-WINNER(F08));
W08:=100*(WINNER(F08)-WINNER(F07));
W07:=100*(WINNER(F07)-WINNER(F06));
W06:=100*(WINNER(F06)-WINNER(F05));
W05:=100*(WINNER(F05)-WINNER(F04));
W04:=100*(WINNER(F04)-WINNER(F03));
W03:=100*(WINNER(F03)-WINNER(F02));
W02:=100*(WINNER(F02)-WINNER(F01));
W01:=100*(WINNER(F01)-WINNER(F00));
{NO1}
MAXF1:=MAX(MAX6(W01,W02,W03,W04,W05,W06),MAX(MAX(W07,W08),MAX(W09,W10)));
ZF:IF(MAXF1=W01,F01,IF(MAXF1=W02,F02,IF(MAXF1=W03,F03,IF(MAXF1=W04,F04,IF(MAXF1=W05,F05,IF(MAXF1=W06,F06,
   IF(MAXF1=W07,F07,IF(MAXF1=W08,F08,IF(MAXF1=W09,F09,F10)))))))))-WWD/20,DOTLINE,COLORGRAY



一呼一吸之间 发表于 2022-11-2 11:24

FH:=COST(99);
FL:=COST(1);
WWD:=FH-FL;
SF:=WWD/10;
F10:=FH;
F09:=9*SF+FL;
F08:=8*SF+FL;
F07:=7*SF+FL;
F06:=6*SF+FL;
F05:=5*SF+FL;
F04:=4*SF+FL;
F03:=3*SF+FL;
F02:=2*SF+FL;
F01:=1*SF+FL;
F00:=FL;
W10:=100*(WINNER(F10)-WINNER(F09));
W09:=100*(WINNER(F09)-WINNER(F08));
W08:=100*(WINNER(F08)-WINNER(F07));
W07:=100*(WINNER(F07)-WINNER(F06));
W06:=100*(WINNER(F06)-WINNER(F05));
W05:=100*(WINNER(F05)-WINNER(F04));
W04:=100*(WINNER(F04)-WINNER(F03));
W03:=100*(WINNER(F03)-WINNER(F02));
W02:=100*(WINNER(F02)-WINNER(F01));
W01:=100*(WINNER(F01)-WINNER(F00));
{NO1}
MAXF1:=MAX(MAX6(W01,W02,W03,W04,W05,W06),MAX(MAX(W07,W08),MAX(W09,W10)));
ZF:IF(MAXF1=W01,F01,IF(MAXF1=W02,F02,IF(MAXF1=W03,F03,IF(MAXF1=W04,F04,IF(MAXF1=W05,F05,IF(MAXF1=W06,F06,
    IF(MAXF1=W07,F07,IF(MAXF1=W08,F08,IF(MAXF1=W09,F09,F10)))))))))-WWD/20,DOTLINE,COLORGRAY;

一呼一吸之间 发表于 2022-11-2 11:26

通达信适用。

mzdd 发表于 2022-11-8 11:11

好好学习,天天向上

gooloo 发表于 2023-4-4 03:22

感谢您的分享,好好学习,天天上涨!2023/4/4
页: [1]
查看完整版本: 原创指标公式--筹码主峰线