/*{通达信地心引力通道}
{NPUT: N(5,1,100)}
EMA13:=EMA(C,13);
MA30:=MA(C,30);
MA72:=MA(C,72);
地心引力:(MA30+MA72)/2,POINTDOT,COLORYELLOW,LINETHICK5;
上引力:(MA30+MA72)/2*,POINTDOT,COLORGREEN,LINETHICK5;
下引力:(MA30+MA72)/2*,POINTDOT,COLORRED,LINETHICK5;
DRAWBAND(EMA13,RGB(95,95,95),MA30,RGB(0,0,0));
EMA17:=EMA(C,17);
主筹估算:=EMA(WINNER(C)*70,3);
散筹估算:=EMA((WINNER((C)*)-WINNER((C)*))*70,3);
筹码锁定:=散筹估算-主筹估算 ;
动态底部:=EMA(IF(L<= LLV(L,60),SMA(ABS(L-REF(L,1)),60,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3);
涨:=CROSS(主筹估算,筹码锁定);
强:=CROSS(主筹估算,散筹估算);
STICKLINE(涨,O,C,8,0),COLORYELLOW;
STICKLINE(涨,O,H,0,0),COLORYELLOW;
STICKLINE(涨,L,C,0,0),COLORYELLOW;
STICKLINE(强, O,C,8,0),COLORMAGENTA;
STICKLINE(强,O,H,0,0),COLORMAGENTA;
STICKLINE(强,L,C,0,0),COLORMAGENTA;
{黄金分割线}
LHNH:=BARSLAST(REFX(CLOSE,1))+1;
NNL:=BARSLAST(REFX(CLOSE,1))=2;
AL:=BACKSET(NNL,HHVBARS(H,LHNH)+1);
BL:=AL>REF(AL,1);
AL2:=BACKSET(NNL,LLVBARS(L,LHNH)+1);
BL2:=AL2>REF(AL2,1);
前高:REF(H,BARSLAST(BL)),POINTDOT,COLORFF00FF,LINETHICK3;
DRAWTEXT(NNL,前高,'前高:'+前高),COLORGREEN;
前低:REF(L,BARSLAST(BL2)),POINTDOT,COLORGREEN,LINETHICK3;
DRAWTEXT(NNL,前低*,'前低: '+前低),COLORGREEN;
FL1:((前高-前低)*)+前低,POINTDOT,COLORFF7F93,LINETHICK3;
DRAWTEXT(BARSLAST(BL)>BARSLAST(BL2) AND NNL,FL1,': '+FL1),COLOR938C93;
FL2:((前高-前低)*)+前低,POINTDOT,COLOR5E8C93,LINETHICK3;
DRAWTEXT(BARSLAST(BL)>BARSLAST(BL2) AND NNL,FL2,'0
文华公式准确率最高的期货指标文华财经指标公式源码期货5分钟准确率95指标 来自淘豆网m.daumloan.com转载请标明出处.