2016飞狐指标公式 飞狐一线定多空主图公式源码
2016-08-27 14:25 股票知识 zhishi.southmoney.com
JJ:=(CLOSE+HIGH+LOW)/3;
A:=EMA(JJ,10);
B:=REF(A,1);
持股区域:STICKLINE(A>B,A,B,2,0),ColorFF80FF,linethick3;
持币区域:STICKLINE(A<B,A,B,2,0),ColorFFFF00,linethick3;
TA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=EMA(TA,13);
VAR8:=REF(CLOSE,1)-REF(ATR,1);
多空线:HHV(VAR8,13),COLORWHITE,linethick2;
DRAWTEXT(ISLASTBAR,多空线,' 多空线'), COLORWHITE;
MA60: MA(CLOSE,60),,Color008080,linethick2;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,1),COLORRED;
STICKLINE(CLOSE<OPEN,HIGH,LOW,0.1,0),Color00FF80;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,7,0),Color00FF80;
A:=EMA(JJ,10);
B:=REF(A,1);
持股区域:STICKLINE(A>B,A,B,2,0),ColorFF80FF,linethick3;
持币区域:STICKLINE(A<B,A,B,2,0),ColorFFFF00,linethick3;
TA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR:=EMA(TA,13);
VAR8:=REF(CLOSE,1)-REF(ATR,1);
多空线:HHV(VAR8,13),COLORWHITE,linethick2;
DRAWTEXT(ISLASTBAR,多空线,' 多空线'), COLORWHITE;
MA60: MA(CLOSE,60),,Color008080,linethick2;
STICKLINE(CLOSE>=OPEN,HIGH,LOW,0.1,1),COLORRED;
STICKLINE(CLOSE>=OPEN,CLOSE,OPEN,7,1),COLORRED;
STICKLINE(CLOSE<OPEN,HIGH,LOW,0.1,0),Color00FF80;
STICKLINE(CLOSE<OPEN,CLOSE,OPEN,7,0),Color00FF80;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)
股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。