飞狐公式源码码愿赌服输分时
-
相关简介:其实大智慧 飞狐 许多函数是相通的 有人要此码 其实 与 大智慧源码无区别就可通过 借花献佛啊 呵呵 {愿赌服输分时} p40:=MIN(COUNT( vol,0 )-1,40 ); p80:=MIN(COUNT( vol,0 )-1,80 ); A1:=AMOUNT/VOL/100; A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; A3:=SUM(AMOUNT,p40)/A1/100; A4:=SUM(AMOUNT,p80)/A1/100; B1:=DMA(A2,VOL/A3
-
文章来源:股海网作者:股海网发布时间:2014-12-04浏览次数:
其实大智慧 飞狐 许多函数是相通的 有人要此码 其实 与 大智慧源码无区别就可通过 借花献佛啊 呵呵
{愿赌服输分时}
p40:=MIN(COUNT( vol,0 )-1,40 );
p80:=MIN(COUNT( vol,0 )-1,80 );
A1:=AMOUNT/VOL/100;
A2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
A3:=SUM(AMOUNT,p40)/A1/100;
A4:=SUM(AMOUNT,p80)/A1/100;
B1:=DMA(A2,VOL/A3);
B2:=DMA(A2,VOL/A4);
B3:=(CLOSE-B1)/B1*100;
B4:=(CLOSE-B2)/B2*100;
控盘:3,COLOR00ffff,LINETHICK1;
高点:7,COLORFF6600;
风险:-3,COLOR00ee00,LINETHICK2;
低点:-6,COLORCCFF33;
现价:C,LINETHICK0;
{
DRAWTEXT(ISLASTBAR AND C,4,' 愿赌服输四段分时'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,3,' 操作选择正确时段'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,2,' 黄线上方谨慎看多'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-1.5,' 绿线下方保持警惕'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-2.5,' 严格遵守操作纪律'),COLOR0000BB;
DRAWTEXT(ISLASTBAR AND C,-3.5,' 心态平衡投资顺利'),COLOR0000BB;
}
均价:SUM(现价*V,240)/SUM(V,240),COLORYELLOW,LINETHICK0;
回调认同:EMA(WMA(C,20),13),LINETHICK0;
分时压力:MA(REF(HHV(C,30),1),2),LINETHICK0;
分时支撑:MA(REF(LLV(C,30),1),2),LINETHICK0;
STICKLINE(FILTER(C,60)>0,高点,低点,0.5,0),COLOR000088;
STICKLINE(B4>0,0,B4+2,4,0),COLOR00ffff;
STICKLINE(B3>0,0,B3+2,4,0),COLOR0000aa;
STICKLINE(B3<=0,0,B3-2,4,0),COLOR00aa00;