飞狐盘丝大仙主图指标公式

[复制链接]
查看185 | 回复0 | 2021-8-21 12:48:13 | 显示全部楼层 |阅读模式

DRAWGBK((CLOSE > 0),COLORRGB(1,8888,8888),COLORRGB(1,3333,6666),3);
V2:=(MA(HIGH,3) * 1.03);
V3:=(MA(LOW,3) * 0.97);
小通道上:FFT(V2,30);
小通道下:FFT(V3,30);
A2:=(小通道上 - REF(小通道上,1));
A3:=(小通道下 - REF(小通道下,1));
PARTLINE((A2 > 0),小通道上),LINETHICK2,colorFF;
PARTLINE((A2 = 0),小通道上),LINETHICK2,colorFFFFFF;
PARTLINE((A2 < 0),小通道上),LINETHICK2,colorFFFF;
PARTLINE((A3 > 0),小通道下),LINETHICK2,colorFF;
PARTLINE((A3 = 0),小通道下),LINETHICK2,colorFFFFFF;
PARTLINE((A3 < 0),小通道下),LINETHICK2,colorFFFF;
MID:=MA(CLOSE,20);
FD:=((HIGH - LOW) / 3);
OPEN1:=(OPEN > ((FD * 2) + LOW));
OPEN3:=(OPEN < (FD + LOW));
OPEN2:=NOT((OPEN1 OR OPEN3));
CLOSE1:=(CLOSE > ((FD * 2) + LOW));
CLOSE3:=(CLOSE < (FD + LOW));
CLOSE2:=NOT((CLOSE1 OR CLOSE3));
DFZD:=(CLOSE1 OR (OPEN3 AND CLOSE2));
WQS1:=(OPEN2 AND CLOSE2);
KFZD:=NOT((DFZD OR WQS1));
ZD:=((HIGH + LOW) / 2);
QSXS:=(ZD > REF(HIGH,1));
QSXX:=(ZD < REF(LOW,1));
WQS2:=NOT((QSXS OR QSXX));
ZTDL:=((VOL > (REF(VOL,1) * 1.1)) OR (AMOUNT > (REF(AMOUNT,1) * 1.5)));
FTDL:=((VOL < (REF(VOL,1) * 0.7)) OR (AMOUNT < (REF(AMOUNT,1) * 0.5)));
ZTDL2:=(ZTDL AND (FTDL < 1));
FTDL2:=(FTDL AND (ZTDL < 1));
MFI1:=((HIGH - LOW) / (VOL / 10000));
MFI2:=((HIGH - LOW) / (AMOUNT / 1000000));
ZMFI1:=(MFI1 > REF(MFI1,1));
ZMFI2:=(MFI2 > REF(MFI2,1));
ZMFI:=(ZMFI1 OR ZMFI2);
FMFI:=NOT(ZMFI);
LD:=(ZTDL2 AND ZMFI);
ST:=(FTDL2 AND FMFI);
WZ:=(FTDL2 AND ZMFI);
QF:=(ZTDL2 AND FMFI);
A1:=REF(HIGH,2);
A2:=FILTER((HHV(HIGH,5) = A1),2);
A3:=BACKSET(A2,3);
A4:=IF(FILTER(A3,2),HIGH,0);
A5:=SUM(A4,3);
C1:=REF(LOW,2);
C2:=FILTER((LLV(LOW,5) = C1),2);
C3:=BACKSET(C2,3);
C4:=IF(FILTER(C3,2),LOW,0);
C5:=SUM(C4,3);
XHWZ1:=(HIGH * 1.003);
XHWZ2:=(LOW * 0.998);
XHWZ3:=IF(QSXX,XHWZ2,IF(QSXS,XHWZ1,IF(DFZD,XHWZ1,XHWZ2)));
XHWZ4:=IF((ZD < REF(ZD,1)),XHWZ2,XHWZ1);
S1:=(DFZD AND QSXS);
S2:=(KFZD AND QSXX);
S3:=(DFZD AND QSXX);
S4:=(KFZD AND QSXS);
S5:=(DFZD AND WQS2);
S6:=(KFZD AND WQS2);
S7:=(WQS1 AND ((QSXS OR QSXX) OR WQS2));
{www.gUPang.com 股旁网_最新股票指标公式}
STICKLINE(1,LOW,HIGH,0.5,0),colorFFFF;
STICKLINE(S2,CLOSE,OPEN,7,0),colorFF2020;
STICKLINE(S1,CLOSE,OPEN,7,0),color2020FF;
STICKLINE(S3,CLOSE,OPEN,7,0),colorFFFF;
STICKLINE(S4,CLOSE,OPEN,7,0),colorFFFF00;
STICKLINE(S5,CLOSE,OPEN,7,0),colorFF00FF;
STICKLINE(S6,CLOSE,OPEN,7,0),colorFF00;
STICKLINE(S7,CLOSE,OPEN,7,0),color808080;
STICKLINE(1,CLOSE,OPEN,2,0),colorFFFFFF;
STICKLINE(LD,XHWZ3,(XHWZ3 * 0.999),3,0),colorFF00;
STICKLINE(ST,XHWZ3,(XHWZ3 * 0.999),3,0),colorFF00FF;
STICKLINE(WZ,XHWZ3,(XHWZ3 * 0.999),3,0),colorFFFF;
STICKLINE(QF,XHWZ3,(XHWZ3 * 0.999),3,0),colorFF;
STICKLINE((A5 > 0.1),A5,(A5 * 1.0001),6,0);
STICKLINE((C5 > 0.1),C5,(C5 * 1.0001),6,0);
VAR1:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);
支撑1:EMA(VAR1,5),colorFFFFFF;
压力1:HHV(支撑1,13),colorCCCC00;
压力2:HHV(支撑1,60),colorFF0000;
支撑2:LLV(支撑1,13),colorFF00;
支撑3:(LLV(LOW,60) * 1.02),colorFF;
压力3:(HHV(HIGH,60) * 0.98),colorFF00;
PARTLINE((支撑1 > REF(支撑1,1)),支撑1),LINETHICK2,colorFF;
PARTLINE((支撑2 > REF(支撑2,1)),支撑2),LINETHICK1,colorFFFF;
PARTLINE((压力1 > REF(压力1,1)),压力1),LINETHICK2,colorFF00FF;
PARTLINE((压力2 > REF(压力2,1)),压力2),LINETHICK2,colorFFFF;
PARTLINE((支撑2 = REF(支撑2,1)),支撑2),colorFF;
PARTLINE((压力1 = REF(压力1,1)),压力1),colorFF;
PARTLINE((压力2 = REF(压力2,1)),压力2),colorFF;
PARTLINE((压力3 = REF(压力3,1)),压力3),colorFF;
STICKLINE(1,VAR1,VAR1,6,0),colorFFFFFF;

202108211218.jpg

202108211218.jpg

 

回复

使用道具 举报

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

本版积分规则