飞狐极品多空指标公式源码
-
相关简介:飞狐极品多空指标公式源码 飞狐极品指标源码: RSV:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; K:=SMA(RSV,3,1); 主力:ema(SMA(K,3,1),3),PRECISION2,LINETHICK2,Colorgreen; Zy1:=(DATEDIFF(REF(DATE,1),DATE) (WEEKDAY - REF(WEEKDAY,1))); Zy2:=SUMBARS(Zy1,1); Zy3:=SUMBARS(Zy1,7
-
文章来源:股海网作者:股海网发布时间:2012-09-10浏览次数:
飞狐极品多空指标公式源码
飞狐极品指标源码:
RSV:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
K:=SMA(RSV,3,1);
主力:ema(SMA(K,3,1),3),PRECISION2,LINETHICK2,Colorgreen;
Zy1:=(DATEDIFF(REF(DATE,1),DATE) <> (WEEKDAY - REF(WEEKDAY,1)));
Zy2:=SUMBARS(Zy1,1);
Zy3:=SUMBARS(Zy1,7);
Zy4:=LBOUND(Zy3);
ZyN:=IF(Zy4=0 OR BARPOS<Zy4,BARPOS,Zy3);
ZyH:=HHV(H,ZyN);
ZyL:=LLV(L,ZyN);
ZyV:=((C-ZyL)/(ZyH-ZyL))*100;
LyK:=LBOUND(Zy2);
LyD:=LBOUND(SUMBARS(Zy1,2))-1;
ZyK[LyK-1]:=ZyV[LyK-1];
FOR I=LyK to DATACOUNT DO begin
ZyK[I]:=(ZyV[I]+2*ZyK[I-Zy2[I]])/3;
IF I>=LyD AND LyD>0 THEN
IF I = LyD THEN
ZyD[LyD]:=ZyK[LyD];
ELSE
ZyD[I]:=(ZyK[I]+2*ZyD[I-Zy2[I]])/3;
END;
多:ema(Zyd,1),PRECISION2,LINETHICK2,COLORMAGENTA;
DTR:= MAX(MAX((多-hhv(多,1)),ABS(REF(多,1)-多)),ABS(REF(多,1)-llv(多,1)));
DTR1:=EMA(DTR,11);
DTR2:=REF(多,1)-REF(DTR1,1);
空:HHV(DTR2,9),LINETHICK2,PRECISION2,COLORGRAY;