飞狐中国牛熊均线主图公式源码 飞狐指标公式大全(2)
2015-12-19 11:47:12 股票入门 http://rumen.southmoney.com
{以下是校验线定义系统}
NNN:=IF(A=6,120,IF(A=7,24,IF(A=8,6,IF(A=9,2,IF(A=10,40,480)))));
NXH:=IF(校验线,IF(CAPITAL,HHV(MA(HIGH,3),NNN)*0.7,HHV(MA(HIGH,3),NNN)*0.79),
MA(C,25600)),COLORYELLOW,POINTDOT,LINETHICK4;
NXL:=IF(校验线,IF(CAPITAL,LLV(MA(LOW,3),NNN)*1.3,LLV(MA(LOW,3),NNN)*1.21),
MA(C,25600)),COLORBLUE,POINTDOT,LINETHICK4;
牛熊概念:MA((NXH+NXL)/2,3),COLORRED;{牛熊概念线}
NNN1:=IF(A=6,60,IF(A=7,12,IF(A=8,3,IF(A=10,20,IF(A=5,240,IF(A=4,480,480))))));
NXH1:=IF(校验线,IF(CAPITAL,HHV(MA(HIGH,3),NNN1)*0.80,
HHV(MA(HIGH,3),NNN1)*0.86),MA(C,25600));
NXL1:=IF(校验线,IF(CAPITAL,LLV(MA(LOW,3),NNN1)*1.20,
LLV(MA(LOW,3),NNN1)*1.14),MA(C,25600));
NX60GN:MA((NXH1+NXL1)/2,1),COLORWHITE;{60成本概念线}
NNN2:=IF(A=6,30,IF(A=7,6,IF(A=5,120,IF(A=4,240,480))));
NXH2:=IF(校验线,IF(CAPITAL,HHV(MA(HIGH,3),NNN2)*0.90,
HHV(MA(HIGH,3),NNN2)*0.93),MA(C,25600));
NXL2:=IF(校验线,IF(CAPITAL,LLV(MA(LOW,3),NNN2)*1.10,
LLV(MA(LOW,3),NNN2)*1.07),MA(C,25600));
NX30GN:MA((NXH2+NXL2)/2,1),COLORBLUE;{30成本概念线}
NNN3:=IF(A=6,240,IF(A=7,48,IF(A=8,12,IF(A=10,80,480))));
NXH3:=IF(校验线,IF(CAPITAL,HHV(MA(HIGH,3),NNN3)*0.60,
HHV(MA(HIGH,3),NNN3)*0.72),MA(C,25600));
NXL3:=IF(校验线,IF(CAPITAL,LLV(MA(LOW,3),NNN3)*1.40,
LLV(MA(LOW,3),NNN3)*1.28),MA(C,25600));
NX240GN:MA((NXH3+NXL3)/2,1),COLORYELLOW;{240成本概念线}
更多飞狐指标公式请关注南方股票网 http://rumen.southmoney.com
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。