飞狐解盘CDP主图指标公式
2019/12/13 18:36:29
P1:=5;P2:=10;P3:=20;P4:=30;P5:=60;P6:=120;P7:=240;P8:=360;N:=4;
a:=winner(c);
PR:=(a-ref(a,1))/v*capital;
CR:=cross(PR,0);
js:=ref(CR,BARSLAST(CR));
DRAWLINE(CR,h,ref(CR,1),ref(h,1),1),POINTDOT,color667788;
{www.kanguba.com 看股吧_飞狐股票指标公式}
STICKLINE(C>=ref(c,1),H,L,0,0),COLOR0000FF;
STICKLINE(C>=ref(c,1),O,C,8,0),COLOR000088;
STICKLINE(C>=ref(c,1),O,C,5,0),COLOR0000AA;
STICKLINE(C>=ref(c,1),O,C,3,0),COLOR0000CC;
STICKLINE(C>=ref(c,1),O,C,1,0),COLOR0000FF;
STICKLINE(C<ref(c,1),H,L,0,0),COLORFFaa00;
STICKLINE(C<ref(c,1),O,C,8,0),COLORFF8800;
STICKLINE(C<ref(c,1),O,C,5,0),COLORFFAA00;
STICKLINE(C<ref(c,1),O,C,3,0),COLORFFCC00;
STICKLINE(C<ref(c,1),O,C,1,0),COLORFFFF00;
wx:=MA(c,0);
均价:=amount/vol/100;
移均线:=ma(均价,5);
M1:MA(CLOSE,P1);
M2:MA(CLOSE,P2)*if(n<2,wx,1);
M3:MA(CLOSE,P3)*if(n<3,wx,1);
M4:MA(CLOSE,P4)*if(n<4,wx,1);
M5:MA(CLOSE,P5)*if(n<5,wx,1);
M6:MA(CLOSE,P6)*if(n<6,wx,1);
M7:MA(CLOSE,P7)*if(n<7,wx,1);
M8:MA(CLOSE,P8)*if(n<8,wx,1);
{
估算:=LWINNER(1,c);
零获利:=(估算=0);
天:=BARSLAST(零获利);
参考盈亏价位:"估算价格.参考价位#DAY",COLORyellow,LINEDASHDOT,linethick1;
当前涨跌:= "参考价位.当前涨跌#DAY";
}
看股吧 公式 www.kanguba .com
其它股票公式列表