飞狐转折线主赚了又赚副图公式源码 飞狐指标公式大全
2015-12-18 16:16:41 股票入门 http://rumen.southmoney.com
飞狐转折线主赚了又赚副图公式源码 飞狐指标公式大全 南方财富网小编为您带来最新的飞狐指标公式
WRAP: break-word; WHITE-SPACE: normal; LETTER-SPACING: normal; COLOR: rgb(51,51,51); WORD-SPACING: 0px; PADDING-TOP: 0px; -webkit-text-stroke-width: 0px">转折线(主) + 赚了又赚(副) 源码
{转折线=三玩童}
AC:=CLOSE;
转强:=WMA(HIGH,5);
转弱:=WMA(LOW,5);
B:=CLOSE*0;
FOR I=13+1 TO DATACOUNT DO BEGIN
IF AC[I]>转强[I-1] THEN
B[I]:=1;ELSE
IF AC[I]<转弱[I-1] THEN
B[I]:=-1;ELSE
B[I]:=B[I-1];
END;
转折线:IF(B=-1,MA(HIGH,4),MA(LOW,4)),LINETHICK;
PARTLINE(c>转折线,转折线),LINETHICK2,COLORMAGENTA;
PARTLINE(c<转折线,转折线),LINETHICK2,COLORCYAN;
{赚了又赚=愚叟}
ZF:=(C-REF(C,1))/REF(C,1)*100;
AA:EMA(EMA((C-REF(C,1)),6),6)*100/EMA(EMA(ABS((C-REF(C,1))),6),6)COLORGREEN,LINETHICK2;
DD:=LLV(AA,BARSLAST(AA<REF(AA,1))+1);
ZT:=BARSLAST(CROSS(AA,DD*0.66) AND AA<0 AND DD<-20);
收益:SUM(ZF,IF(ZT=0,1,ZT)),COLORRED,LINETHICK0;
MR:=CROSS(AA,DD*0.66) AND AA<0 AND DD<-20;
DRAWICON(MR,AA*0.8,25);
MC:=CROSS(DD,0) AND DD=AA;
DRAWICON(MC,AA*0.9,24);
DRAWTEXT(MC,AA*1.02,'快跑')COLORYELLOW;
DRAWTEXT(MR,AA,'买入')COLORRED;
更多飞狐指标公式请关注南方股票网 http://rumen.southmoney.com
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。