股票公式平台 股票公式 股票软件 手机炒股软件 登录 注册
公式平台网
未来函数检测
首 页 精品公式 通达信公式 大智慧公式 同花顺公式 通达信股票池 大智慧股票池 益盟公式 文华公式 博易大师公式 通达信软件 更多
当前位置:公式平台网飞狐公式 → 正文

飞狐主图--波浪启动点,有板块所属 注意黄色点 源码 测试图

发布时间:2022/6/4 14:26:19  浏览次数:
飞狐主图--波浪启动点
有板块所属 注意黄色点  源码 测试图

{波浪启点}

DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,('板块:' + BLKNAME)),ALIGN4,ColorCCFFFF;


{波浪启动点}

Z_L1:=(((HIGH + LOW) + CLOSE))/(3);

Z_L2:=(AMOUNT)/(IF((HIGH = LOW),4,(HIGH - LOW)));

Z_L3:=((Z_L2)*((MIN(OPEN,CLOSE) - LOW)))*(2);

Z_L4:=((Z_L2)*((Z_L1 - MIN(CLOSE,OPEN))))*(2);

Z_L5:=((Z_L2)*((MAX(CLOSE,OPEN) - Z_L1)))*(2);

Z_L6:=((Z_L2)*((HIGH - MAX(OPEN,CLOSE))))*(2);

主力增减:=(((((Z_L3 + Z_L4) - Z_L5) - Z_L6))/(10000))*(6),linethick0,PRECISION,colorRed;

S_H1:=(Z_L2)*((MIN(OPEN,CLOSE) - LOW));

S_H2:=(Z_L2)*((Z_L1 - MIN(CLOSE,OPEN)));

S_H3:=(Z_L2)*((HIGH - MAX(OPEN,CLOSE)));

S_H4:=(Z_L2)*((MAX(CLOSE,OPEN) - Z_L1));

S_H5:=(1 - (S_H1 + S_H2));

S_H6:=(1 - (S_H3 + S_H4));

S_H7:=((VOL)/(SUM(VOL,60)))*(100);

散户增减:=(((S_H5 - S_H6))/(10000))/(S_H7),linethick0,PRECISION,colorGreen;

DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)),linethick0,PRECISION2,colorWhite;

DEA:=EMA(DIFF,9),linethick0,PRECISION2,ColorFFB7B2;

MACD:=(2)*((DIFF - DEA));

相对F:=((EMA((CLOSE)/(INDEXC),12) - EMA((CLOSE)/(INDEXC),26)))*(1000);

相对A:=EMA(相对F,9);

相对MACD:=(2)*((相对F - 相对A));

K:=((100)*(EMA(EMA((CLOSE - REF(CLOSE,1)),6),6)))/(EMA(EMA(ABS((CLOSE - REF(CLOSE,1))),6),6));

D:=EMA(((0.667)*(REF(K,1)) + (0.333)*(K)),2);

A_X1:=EMA(CLOSE,7);

A_X2:=EMA(CLOSE,19);

UP:=LINEVALUE((LOW = LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1))),LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1)),(HIGH = HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1))),HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1)),0,0);

UZ:=LINEVALUE((HIGH = HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1))),HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1)),(LOW = LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1))),LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1)),0,0);

买:=(((((LLV(K,2) = LLV(K,7)) and COUNT((K < 0),2)) and CROSS(K,MA(K,2))) and (REF(UZ,1) < REF(UZ,2))) and (UP > REF(UZ,1))),linethick0;

N1:=SYSPARAM(3);

N2:=SYSPARAM(2);

N3:=((N1 - N2) + 1);

HH:=HHV(DIFF,N3);

LL:=LLV(MACD,N3);

ZHH:=HH[N1];

ZLL:=LL[N1];

RH:=HHV(K,0);

RL:=LLV(K,0);

Q:=DATACOUNT;

RB:=((ZHH - ZLL))/((RH[Q] - RL[Q]));

RY:=(((ZHH + ZLL) - (RB)*((RH[Q] + RL[Q]))))/(2);

多:=((K)*(RB) + RY);

空:=((D)*(RB) + RY);

VARA1:=LLV(LOW,36);

VARB1:=HHV(HIGH,33);

VARC1:=(EMA((((CLOSE - VARA1))/((VARB1 - VARA1)))*(4),4))*(25);


DRAWTEXT((SYSPARAM(2) = BARPOS),CLOSE,('板块:' + BLKNAME)),ALIGN4,ColorCCFFFF;

M1:MA(CLOSE,5);

M2:MA(CLOSE,10);

M3:MA(CLOSE,20);

M4:MA(CLOSE,60);

M5:MA(CLOSE,144);

M6:MA(CLOSE,250);

VARA1:=LLV(LOW,36);

VARB1:=HHV(HIGH,33);

VARC1:=(EMA((((CLOSE - VARA1))/((VARB1 - VARA1)))*(4),4))*(25);

DRAWICON((VARC1 < 8),(LOW)*(0.98),12);


{波浪启动点}

Z_L1:=(((HIGH + LOW) + CLOSE))/(3);

Z_L2:=(AMOUNT)/(IF((HIGH = LOW),4,(HIGH - LOW)));

Z_L3:=((Z_L2)*((MIN(OPEN,CLOSE) - LOW)))*(2);

Z_L4:=((Z_L2)*((Z_L1 - MIN(CLOSE,OPEN))))*(2);

Z_L5:=((Z_L2)*((MAX(CLOSE,OPEN) - Z_L1)))*(2);

Z_L6:=((Z_L2)*((HIGH - MAX(OPEN,CLOSE))))*(2);

主力增减:=(((((Z_L3 + Z_L4) - Z_L5) - Z_L6))/(10000))*(6),linethick0,PRECISION,colorRed;

S_H1:=(Z_L2)*((MIN(OPEN,CLOSE) - LOW));

S_H2:=(Z_L2)*((Z_L1 - MIN(CLOSE,OPEN)));

S_H3:=(Z_L2)*((HIGH - MAX(OPEN,CLOSE)));

S_H4:=(Z_L2)*((MAX(CLOSE,OPEN) - Z_L1));

S_H5:=(1 - (S_H1 + S_H2));

S_H6:=(1 - (S_H3 + S_H4));

S_H7:=((VOL)/(SUM(VOL,60)))*(100);

散户增减:=(((S_H5 - S_H6))/(10000))/(S_H7),linethick0,PRECISION,colorGreen;

DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)),linethick0,PRECISION2,colorWhite;

DEA:=EMA(DIFF,9),linethick0,PRECISION2,ColorFFB7B2;

MACD:=(2)*((DIFF - DEA));

相对F:=((EMA((CLOSE)/(INDEXC),12) - EMA((CLOSE)/(INDEXC),26)))*(1000);

相对A:=EMA(相对F,9);

相对MACD:=(2)*((相对F - 相对A));

K:=((100)*(EMA(EMA((CLOSE - REF(CLOSE,1)),6),6)))/(EMA(EMA(ABS((CLOSE - REF(CLOSE,1))),6),6));

D:=EMA(((0.667)*(REF(K,1)) + (0.333)*(K)),2);

A_X1:=EMA(CLOSE,7);

A_X2:=EMA(CLOSE,19);

UP:=LINEVALUE((LOW = LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1))),LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1)),(HIGH = HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1))),HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1)),0,0);

UZ:=LINEVALUE((HIGH = HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1))),HHV(HIGH,(BARSLAST(CROSS(A_X1,A_X2)) + 1)),(LOW = LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1))),LLV(LOW,(BARSLAST(CROSS(A_X2,A_X1)) + 1)),0,0);

买:=(((((LLV(K,2) = LLV(K,7)) and COUNT((K < 0),2)) and CROSS(K,MA(K,2))) and (REF(UZ,1) < REF(UZ,2))) and (UP > REF(UZ,1))),linethick0;

N1:=SYSPARAM(3);

N2:=SYSPARAM(2);

N3:=((N1 - N2) + 1);

HH:=HHV(DIFF,N3);

LL:=LLV(MACD,N3);

ZHH:=HH[N1];

ZLL:=LL[N1];

RH:=HHV(K,0);

RL:=LLV(K,0);

Q:=DATACOUNT;

RB:=((ZHH - ZLL))/((RH[Q] - RL[Q]));

RY:=(((ZHH + ZLL) - (RB)*((RH[Q] + RL[Q]))))/(2);

多:=((K)*(RB) + RY);

空:=((D)*(RB) + RY);

VARA1:=LLV(LOW,36);

VARB1:=HHV(HIGH,33);

VARC1:=(EMA((((CLOSE - VARA1))/((VARB1 - VARA1)))*(4),4))*(25);

DRAWICON(买,(LOW)*(0.98),4);


飞狐主图--波浪启动点,有板块所属 注意黄色点 源码 测试图

增值电信业务经营ICP许可证:合字B2-20230351  粤ICP备2023083431号-1
免责声明:公式平台网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,由此引起的投资亏损与本站无关.
Copyright © 2023 gspt.com , All Rights Reserved.