设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

飞狐优化实战助手公式源码是什么?

2016-5-13 13:38:30 股票入门 http://rumen.southmoney.com

飞狐优化实战助手公式源码是什么?附:飞狐轴上金叉次数主图公式源码  南方财富网小编为您提供


【飞狐优化实战助手公式源码】

AR2:=REF(LOW,1);
WRAP: break-word; WHITE-SPACE: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; COLOR: rgb(51,51,51); PADDING-BOTTOM: 0px; PADDING-TOP: 0px; FONT: 14px/24px 宋体, arial, sans-serif, 'DejaVu Sans', 'Lucida Grande', Tahoma, 'Hiragino Sans GB', STHeiti, SimSun, sans-serif; PADDING-LEFT: 0px; MARGIN: 0px; WIDOWS: 1; LETTER-SPACING: normal; PADDING-RIGHT: 0px; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px">AR3:=((SMA(ABS((LOW - AR2)),3,1) / SMA(MAX((LOW - AR2),0),3,1)) * 100);
AR4:=EMA(IF((CLOSE * 1.2),(AR3 * 10),(AR3 / 10)),3);
AR5:=LLV(LOW,38);
AR6:=HHV(AR4,38);
AR7:=IF(LLV(LOW,90),1,0);
AR8:=((EMA(IF((LOW <= AR5),((AR4 + (AR6 * 2)) / 2),0),3) / 1618) * AR7);
STICKLINE(AR8,0,AR8,4,1),,colorFFFFA6;
VAR3:=((((2 * CLOSE) + HIGH) + LOW) / 4);
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
散户:EMA((((VAR3 - VAR4) / (VAR5 - VAR4)) * 100),13),,colorFFCA;
新庄:EMA(((0.667 * REF(散户,5)) + (0.333 * 散户)),2),,colorFC6FFF;
高抛低吸分界线:50,;
DRAWTEXT((CROSS(散户,新庄) AND (散户 < 22)),30,买),,colorFFFF;
DRAWTEXT((CROSS(散户,30) AND (新庄 < 散户)),25,在犹豫中上扬!),,colorADD1FF;
DRAWICON((CROSS(散户,30) AND (新庄 < 散户)),35,4),;
DRAWTEXT((CROSS(散户,65) AND (新庄 < 散户)),45,在无奈中叹息!),,colorFFB793;
DRAWICON((CROSS(散户,65) AND (新庄 < 散户)),70,7),;
STICKLINE((CROSS(散户,65) AND (新庄 < 散户)),70,50,8,1),;
DRAWTEXT((CROSS(散户,75) AND (新庄 < 散户)),67,小心套牢!),,color8B8CFF;
DRAWICON((CROSS(散户,75) AND (新庄 < 散户)),80,10),;
DRAWTEXT((CROSS(新庄,散户) AND (新庄 > 75)),75,卖),,colorFF00;
逢低吸呐:IF((CROSS(散户,新庄) AND (散户 < 40)),20,0),,color5798FF;
逢高减磅:IF((CROSS(新庄,散户) AND (新庄 > 75)),75,90),,colorFCD100;
EXPLAIN((高抛低吸分界线 = 50), 飞帆忠告 ),,colorFFFFFF;
EXPLAIN((高抛低吸分界线 = 50), 飞帆建议你这样炒股: “每天反省,勤做功课,涵养个性,注重修养,兴趣广泛,心胸坦荡,加强锻炼,健康体魄。”),,colorFFD898;
EXPLAIN((散户 > REF(散户,3)),股市充满机会、充满诱惑、也充满陷阱,要学会抵御诱惑,放弃一些机会才能抓住一些机会。),,colorFFCA;
EXPLAIN((散户 < REF(散户,3)),宁可错过, 不要做错, 错过了 就放了吧! 只要不做错, 就是胜利。),,colorFC6FFF;
EXPLAIN((CROSS(散户,新庄) AND (散户 < 22)),效益和风险最佳组合原则: 首先不亏,然后再少赚,不亏才有可能赚!),,colorFFFFFF;
EXPLAIN((CROSS(新庄,散户) AND (新庄 > 75)),1.坚持现金为王原则, 2.热点趋势第一原则, 3.操作时间最小化原则!),,colorC0FFBC;
EXPLAIN((CROSS(散户,65) AND (新庄 < 散户)),技术指标不一定是必须的,每一种技术指标都有其缺陷与误区, 但高水平的应用是有效的。),,colorFFB793;
EXPLAIN((高抛低吸分界线 = 50), 指标解说 ),,colorFFFFFF;
ERT:=MA(CLOSE,3);
YAXG:=MA(CLOSE,55);
EXPLAIN(((ERT > YAXG) AND (MA(CLOSE,60) >= REF(MA(CLOSE,60),20))), 强势股,可关注它的走势,。),,colorFF95FF;
EXPLAIN(((ERT > YAXG) AND (MA(CLOSE,60) < REF(MA(CLOSE,60),20))), 该股有走强迹象。),,color58B3FF;
EXPLAIN(((ERT < YAXG) AND (MA(CLOSE,60) <= REF(MA(CLOSE,60),20))), 弱势股,指标往往失效,判断较困难!),,color3FFF92;
EXPLAIN(((ERT < YAXG) AND (MA(CLOSE,60) > REF(MA(CLOSE,60),20))), 该股有走弱迹象。),,colorA4FF98;
EXPLAIN((散户 > REF(散户,3)),指标线向上,有机会!),,colorFFFF;
EXPLAIN((散户 < REF(散户,3)),指标线向下,形势不好啊!),,colorFF00;
EXPLAIN((CROSS(新庄,散户) AND (新庄 > 75)),希望在憧憬中毁灭!),,colorC0FFBC;
EXPLAIN((CROSS(散户,75) AND (新庄 < 散户)),小心!在清醒时套牢!),,colorD98EFF;
EXPLAIN((CROSS(散户,65) AND (新庄 < 散户)),在无奈中叹息!),,colorFFB793;
EXPLAIN((CROSS(散户,30) AND (新庄 < 散户)),在犹豫中上扬!),,colorADD1FF;
EXPLAIN((CROSS(散户,新庄) AND (散户 < 22)),行情在绝望中诞生!),,colorFFFFFF;
EXPLAIN((AR8 > 2),吸筹线,预示有人在这里吸筹,不知庄家作何打算?),,colorFFFF;
EXPLAINICON((散户 < REF(散户,3)),1),;
EXPLAINICON((CROSS(新庄,散户) AND (新庄 > 75)),1),;
EXPLAINICON((散户 > REF(散户,3)),3),;
EXPLAINICON((CROSS(散户,新庄) AND (散户 < 22)),4),;

附:【飞狐轴上金叉次数主图公式源码】

MA5:MA(C,5) colorwhite;
MA10:MA(C,10)coloryellow;
POLYLINE(C,MA(C,20)) color999999;
MA30:MA(C,30)colorgreen;
POLYLINE(C,MA(C,45)) color999999;
MA60:MA(C,60)colormagenta;
POLYLINE(C,MA(C,90)) color999999;
MA120:MA(C,120)colorcyan;
POLYLINE(C,MA(C,150)) color999999;
POLYLINE(C,MA(C,180)) color999999;
POLYLINE(C,MA(C,210)) color999999;
MA250:MA(C,250)colorred;
VK:=SQRT(VOL/CAPITAL*100*5);
STICKLINE(C>=O,H,L,0,0) COLORred;
STICKLINE(C>=O,C,O,VK+3.8,0) COLORred;
STICKLINE(C< O,H,L,0,0) COLORgreen;
STICKLINE(C< O,C,O,VK+3.8,0) COLORgreen;
EXPLAIN((MA5>MA10 and MA10>MA30 and MA5>MA30),解:短期均线排列:多头)COLORred;
EXPLAIN((MA5<MA10 and MA10<MA30 and MA5<MA30),解:短期均线排列:空头);
EXPLAIN((MA30>MA60 and MA30>MA120 and MA60>MA120),解:中期均线排列:多头);
EXPLAIN((MA30<MA60 and MA30<MA120 and MA60<MA120),解:中期均线排列:空头);
EXPLAIN((MA60>MA120 and MA120>MA250 and MA60>MA250),解:长期均线排列:多头);
EXPLAIN((MA60<MA120 and MA120<MA250 and MA60<MA250),解:长期均线排列:空头);
EXPLAIN((CROSS(MA5,MA10)),解:短期均线5x10:金叉)COLORred;
EXPLAIN((CROSS(MA10,MA5)),解:短期均线5x10:死叉);
EXPLAIN((CROSS(C,MA120)),解:今日股价上穿半年线);
EXPLAIN((CROSS(MA120,C)),解:今日股价跌破半年线);
EXPLAIN((CROSS(C,MA250)),解:今日股价上穿一年线);
EXPLAIN((CROSS(MA250,C)),解:今日股价跌破一年线);
EXPLAIN((CROSS(C,MA60) and CROSS(C,MA120) and CROSS(C,MA250)),解:股价一阳上穿三线);
EXPLAIN((MA30>REF(MA30,1)),解:30日均线趋势:向上);
EXPLAIN((MA30>REF(MA30,1) AND MA30<REF(MA30,1)*1.001),解:30日均线趋势:走平);
EXPLAIN((MA30<REF(MA30,1)),解:30日均线趋势:向下);
EXPLAIN((MA5>REF(MA5,1)*1.015),解:5日均线:强劲向上);
EXPLAIN((MA5>REF(MA5,1) AND MA5<REF(MA5,1)*1.005),解:5日均线:方向不明);
EXPLAIN((MA5<REF(MA5,1)*0.985),解:5日均线:快速向下);
DIFF:=EMA(C,5)-EMA(C,20);
DEA:=EMA(DIFF,10);
MACD:=2*(DIFF-DEA);
JC:=CROSS(DIFF,DEA);
SC:=CROSS(DEA,DIFF);
DCJC:=JC AND DEA>0;
EXPLAIN((JC AND DEA>0),解:MACD在0轴上金叉)COLORred;
EXPLAIN((JC AND DEA<0),解:MACD在0轴下金叉);
EXPLAIN((SC AND DEA>0),解:MACD在0轴上死叉);
EXPLAIN((SC AND DEA<0),解:MACD在0轴下死叉);
EXPLAIN((MACD>0 AND MACD>REF(MACD,1)),解:MACD的红柱:增长);
EXPLAIN((MACD>0 AND MACD<REF(MACD,1)),解:MACD的红柱:缩短);
EXPLAIN((MACD<0 AND ABS(MACD)>REF(ABS(MACD),1)),解:MACD的绿柱:增长);
EXPLAIN((MACD<0 AND ABS(MACD)<REF(ABS(MACD),1)),解:MACD的绿柱:缩短);
EXPLAIN((COUNT(DCJC,20)=2 AND JC AND DEA>0),解:0轴上金叉次数:2)COLORredCOLORred;
EXPLAIN((COUNT(DCJC,20)=3 AND JC AND DEA>0),解:0轴上金叉次数:3);
EXPLAIN((COUNT(DCJC,20)=4 AND JC AND DEA>0),解:0轴上金叉次数:4);
EXPLAINICON(HIGH>=HHV(HIGH,20), MyBMP);
EM5:EMA(C,5) colorwhite;
EM10:EMA(C,10)coloryellow;
POLYLINE(C,EMA(C,20)) color999999;
EM30:EMA(C,30)colorgreen;
POLYLINE(C,EMA(C,45)) color999999;
EM60:EMA(C,60)colormagenta;
POLYLINE(C,EMA(C,90)) color999999;
EM120:EMA(C,120)colorcyan;
POLYLINE(C,EMA(C,150)) color999999;
POLYLINE(C,EMA(C,180)) color999999;
POLYLINE(C,EMA(C,210)) color999999;
EM250:EMA(C,250)colorred;
FILLRGN(EMA(C,5)>EMA(C,10),EMA(C,5),EMA(C,10))COLOR6699FF;
FILLRGN(EMA(C,5)<EMA(C,10),EMA(C,5),EMA(C,10))COLORFF6666;
STICKLINE(C>=O,H,L,0,0) COLORred;
STICKLINE(C>=O,C,O,VK+3.8,0) COLORred;
STICKLINE(C< O,H,L,0,0) COLORgreen;
STICKLINE(C< O,C,O,VK+3.8,0) COLORgreen;
EXPLAIN((EM5>EM10 and EM10>EM30 and EM5>EM30),解:短期均线排列:多头);
EXPLAIN((EM5<EM10 and EM10<EM30 and EM5<EM30),解:短期均线排列:空头);
EXPLAIN((EM30>EM60 and EM30>EM120 and EM60>EM120),解:中期均线排列:多头);
EXPLAIN((EM30<EM60 and EM30<EM120 and EM60<EM120),解:中期均线排列:空头);
EXPLAIN((EM60>EM120 and EM120>EM250 and EM60>EM250),解:长期均线排列:多头);
EXPLAIN((EM60<EM120 and EM120<EM250 and EM60<EM250),解:长期均线排列:空头);
EXPLAIN((CROSS(EM5,EM10)),解:短期均线5x10:金叉);
EXPLAIN((CROSS(EM10,EM5)),解:短期均线5x10:死叉);
EXPLAIN((CROSS(C,EM120)),解:今日股价上穿半年线);
EXPLAIN((CROSS(EM120,C)),解:今日股价跌破半年线);
EXPLAIN((CROSS(C,EM250)),解:今日股价上穿一年线);
EXPLAIN((CROSS(EM250,C)),解:今日股价跌破一年线);
EXPLAIN((CROSS(C,EM60) and CROSS(C,EM120) and CROSS(C,EM250)),解:股价一阳上穿三线);
EXPLAIN((EM30>REF(EM30,1)),解:30日均线趋势:向上);
EXPLAIN((EM30>REF(EM30,1) AND EM30<REF(EM30,1)*1.001),解:30日均线趋势:走平);
EXPLAIN((EM30<REF(EM30,1)),解:30日均线趋势:向下);
EXPLAIN((EM5>REF(EM5,1)*1.015),解:5日均线:强劲向上);
EXPLAIN((EM5>REF(EM5,1) AND EM5<REF(EM5,1)*1.005),解:5日均线:方向不明);
EXPLAIN((EM5<REF(EM5,1)*0.985),解:5日均线:快速向下);
EXPLAIN((JC AND DEA>0),解:MACD在0轴上金叉);
EXPLAIN((JC AND DEA<0),解:MACD在0轴下金叉);
EXPLAIN((SC AND DEA>0),解:MACD在0轴上死叉);
EXPLAIN((SC AND DEA<0),解:MACD在0轴下死叉);
EXPLAIN((MACD>0 AND MACD>REF(MACD,1)),解:MACD的红柱:增长);
EXPLAIN((MACD>0 AND MACD<REF(MACD,1)),解:MACD的红柱:缩短);
EXPLAIN((MACD<0 AND ABS(MACD)>REF(ABS(MACD),1)),解:MACD的绿柱:增长);
EXPLAIN((MACD<0 AND ABS(MACD)<REF(ABS(MACD),1)),解:MACD的绿柱:缩短);
EXPLAIN((COUNT(DCJC,20)=2 AND JC AND DEA>0),解:0轴上金叉次数:2);
EXPLAIN((COUNT(DCJC,20)=3 AND JC AND DEA>0),解:0轴上金叉次数:3);
EXPLAIN((COUNT(DCJC,20)=4 AND JC AND DEA>0),解:0轴上金叉次数:4);

更多飞狐公式源码相关资讯请关注南方财富网

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。