红底绿顶(戴绿帽) 强烈的感谢wanghh 大师出手热心相助改写出完全符合原公式的飞狐公式。上穿红线是底,下穿绿线是顶 HIGHN:=10; LOWN:=10; AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1); QY:=BACKSET(AA,HIGHN+1); CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1); 重心:=(C+0.618...
通道中轨:MA(CLOSE,30); 通道上轨:通道中轨*1.12,POINTDOT; 通道下轨:通道中轨*0.88,POINTDOT; 通道上上轨:通道中轨*1.18; 通道下下轨:通道中轨*0.82;...
代码和:=ZQDMSUM; B1:=INTPART(CLOSE/1000); B2:=INTPART(CLOSE/100)-B1*10; B3:=INTPART(CLOSE/10)-B2*10-B1*100; B4:=INTPART(CLOSE)-B3*10-B2*10-B1*100; 价格一和:=B1+B2+B3+B4; CX:=1000*(CLOSE-INTPART(CLOSE)); CY:=INTPART(CX/10); C3:=CX-10*CY; CZ:=IF(C3=5,...
QX-C-SL{全息收盘价格数理法} X2:=CLOSE; XA2:=INTPART(X2/10); XB2:=INTPART(X2)-XA2*10; XC2:=INTPART(X2*10)-XA2*100-XB2*10; XD2:=INTPART(X2*100)-XA2*1000-XB2*100-XC2*10; SGT2:=MOD(XA2+XB2+ZQDMSUM,8); SG2:=IF(SGT2=0,8,SGT2); XGT2:=MOD(XC2+XD2+ZQDMSUM,8)...
中枢线:COST(50),colorFF0000; 天:EMA(中枢线,30),LINETHICK2; 人:EMA(中枢线,60),LINETHICK3; 地:EMA(中枢线,120),LINETHICK4;...
{均价变化} 均价:SUM(AMOUNT,1)/SUM(V,1)/100,LINETHICK0; 大于均价:=(C-均价)/均价*100; SMA5:=EMA(SMA(大于均价,3,2),3); SMA8:=EMA(SMA(大于均价,3,2),8); SM:=SMA((sma(SMA5,3,1)+SMA8)/2,5,4); FILLRGN(1,HHV(HHV(SMA5,100),100),0 ),COLOR222266; FILLRGN(1,llV(...
日K:=KDJ.K#day(20,5,5); 日D:=KDJ.D#day(20,5,5); 周K:=KDJ.K#week(9,3,3); 周D:=KDJ.D#week(9,3,3); FILLRGN(周K周D,周K,周D),colorFF00FF; FILLRGN(周K周D,周K,周D),colorFF9999; FILLRGN(日K日D,日K,日D),colorFF; FILLRGN(日K日D,日K,日D),colorFF00; STICKLINE(C...
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); JJ:=REF(EMA(PJJ,3),1); QJJ:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN))); XVL:=(IF(CLOSEOPEN,QJJ*(HIGH-LOW),IF(CLOSEOPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2)))+(IF(CLOSEOPEN,-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,-QJJ*(HIGH-...
{江恩正方运算器} {n:666,1,10000} 园360A:POW(SQRT(N)+2,2); 园360B:=POW(SQRT(N)-2,2); 半圆180A:=POW(SQRT(N)+1,2); 半圆180B:=POW(SQRT(N)-1,2); 三倍120A:=POW(SQRT(N)+0.666,2); 三倍120B:=POW(SQRT(N)-0.666,2); 三倍240A:=POW(SQRT(N)+1.333,2); 三倍240B:=POW...
QKX 乾坤线:=3*(2*EMA(LLV((OPEN+HIGH+LOW+2*CLOSE)/5,8),13)-(OPEN+HIGH+LOW+2*CLOSE)/5)-2*(SMA(2*EMA(LLV((OPEN+HIGH+LOW+2*CLOSE)/5,8),13)-(OPEN+HIGH+LOW+2*CLOSE)/5,9,1)); DK:=乾坤线; A5:MA(CLOSE,5); A10:MA(CLOSE,10); A20:MA(CLOSE,20); A30:MA(CLOSE,30);...
V1:=DMA((HIGH+LOW+CLOSE*2)/4,0.9); HY1:=REF(EMA(V1,3),1); APP:=VOL/((HIGH-LOW)*2-(ABS(CLOSE-OPEN))); ZL:=IF(CLOSEOPEN,APP*(HIGH-LOW),IF(CLOSEOPEN,APP*(HIGH-OPEN+CLOSE-LOW),VOL/2)); SF:=IF(CLOSEOPEN,-APP*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,-APP*(HIGH-...
云 M1:=WINNER(MA(CLOSE,5)); M2:=WINNER(MA(CLOSE,15)); M3:=WINNER(MA(CLOSE,25)); M4:=WINNER(MA(CLOSE,40)); M5:=WINNER(MA(CLOSE,60)); FILLRGN(M10,M1,LLV(M1,25)),color804000; FILLRGN(M20,M2,LLV(M2,35)),colorC08000; FILLRGN(M30,M3,LLV(M3,55)),color4080F...
抄底王图主 MA1:MA(CLOSE,5); MA2:MA(CLOSE,10); MA3:MA(CLOSE,20); MA4:MA(CLOSE,30); MTM:=CLOSE-REF(CLOSE,1); 主力能量11:=100*EMA(EMA(MTM,5),4)/EMA(EMA(ABS(MTM),3),4); 主力介入1:=LLV(主力能量11,2)=LLV(主力能量11,7) AND COUNT(主力能量110,5) AND CROSS(主...
//简单操作 input:n1(8),n2(6),n3(13); RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,N2,1); D:=SMA(K,N3,1); PARTLINE(SLOPE(K,2)=0.005,K),colormagenta,linethick2; PARTLINE(SLOPE(K,2)0,K),COLORwhite,linethick2; PARTLINE(SLOPE(d,2)=...
{八彩K线} LC:=REF(CLOSE,1); AA:=ABS(HIGH-LC); BB:=ABS(LOW-LC); CC:=ABS(HIGH-REF(LOW,1)); DD:=ABS(LC-REF(OPEN,1)); R:=IF(AABB AND AACC,AA+BB/2+DD/4,IF(BBCC AND BBAA,BB+AA/2+DD/4,CC+DD/4)); X:=CLOSE-LC+(CLOSE-OPEN)/2+LC-REF(OPEN,1); SI:=16*X/R*MAX(AA,...
VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); 成交:=VOL; 买盘:=IF((CLOSE OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))); 卖盘:=IF((CLOSE OPEN),(0 - (VAR1 * ((HIGH - CLOSE) + (OPEN - LOW))...
DRAWTEXT(sysparam(2)=BARSCOUNT(CLOSE),c,'银河星证券投资论坛:http:/yhx.dysj.net\n'),COLORccffff,ALIGN4; Var1:=(C+L+H)/3; Var2:=EMA(Var1,6); Var3:=EMA(Var2,5); Var4:=EMA(Var3,12); Var5:=EMA(Var4,5); M:EMA(Var3,23)*1.15,COLOR999900; Q:EMA(Var3,30),COL...
说明,飞狐不能使用DRAWLINE做变量,只能改作LINEVALUE但由于飞狐的趋势线数值函数的特性,它只能显示最后一组有效数据,造成的结果就是无法查看历史数据,只能看最后一组有效数据,这一点在通达信的DRAWLINE改为飞狐的LINEVALUE修改公式的案例中是个通病,没办法(还...
input:n(9),m(3); 姜恩棠㊣用:0,POINTDOT,LINETHICK0,colorFFFFFF; VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/...
Aaa0:=(C-LLV(L,3))/(HHV(H,3)-LLV(L,3)); Aaa1:=SMA(Aaa0,2,1); Aaa2:=SMa(Aaa1,2,1); Aaa3:=3*Aaa1-2*Aaa2 ; Aaa4:=2*Aaa3-0.5; Aaa5:=C*(1-(Aaa4-Aaa2)/15); 生命线:Aaa5,PRECISION2,COLORGREEN; fbars:=SYSPARAM(1)-1; tj:=barssince(c)fbars-50; fc:=生命线; fo:=...