论坛全局菜单下方 - TICKMILL 285X70论坛全局菜单下方 - ThinkMarkets285X70论坛全局菜单下方 - 荔枝返现285X70论坛全局菜单下方 -  icmarkets285X70
  • 1
  • 2
  • 3
前往
共 56 条
帖子
作者
回复/查看
最后发表
2010-01-14 08:32
50
4595
2010-01-22 15:26
原帖由 kkab 于 2010-1-14 19:47 发表 http://www.talkfx.com/images/common/back.gif 楼上的模型一直是我追求的啊。。能不能跟你学习:)
学习不敢当,毕竟在外汇上花的绝对时间太少,没搞清楚价格的质量以及多空成本重力之前,这种看价格的模型是没有价值的,只是提供了大家通用的看盘第一观感而已
2010-01-15 05:36
2008-06-10 06:54
28
2982
2008-06-10 14:32
原帖由 jicun 于 2008-6-10 21:29 发表 http://www.talkfx.com/images/common/back.gif 恩,看上去似乎不错啊。炒月线可是要超级的耐心啊,偶小猫可闲不住 :lol
猫兄颇有耐心:) 要是我在汇市立足多年,有个菜鸟突然跑来拿出个不知所谓的东东,我恨不得吐他一脸^_^ 炒月线只是玩笑话,主要是没时间,而且也没信心,螺旋式上升俺连楼梯都还没开迈呢,还是业余爱好者这个职业更有前途些 炒月线只是复盘中感觉月线表现更稳定,使用FF里面那种周线多空分别挂单的系统,如果在某些市场动量接近0的情况下,也许会有收获 已经很感谢猫兄了,不浪费您时间了,趁着还有点时间做做功课:) 最后一个问题,猫兄如何复盘呢?我是用空白的EA复盘,可惜只能使用一种周期的图,当有信号发生的时候,只能看价格tick猜测小周期图的情况,无法进入小周期仔细看。有没有前辈做过可以象实时操作一样可以使用各个周期的复盘工具?
2008-06-10 14:32
原帖由 jicun 于 2008-6-10 19:43 发表 http://www.talkfx.com/images/common/back.gif 是啊,其实很多其他经典的成功的操作系统都是可以互相参考的,因为他们本质是一样的。俗话说,戏法人人会变,各在于巧妙不同。 ;P
多谢猫兄费时指点,加速度这个东西是俺在读RSI源码引申出来的,每个指标都有许多背后的文章啊 从来没炒过汇,春节前模拟了一下,靠抛硬币赌人品,居然极其强大,哈哈 正当我陶醉在意淫中时,私房钱被老婆暴仓了:( 因为从前做过一些时间序列上面数字变化的项目,所以比较中意这种数字游戏:) 没准儿啥时候行业萧条了,还能跑到金融类公司找份杂工养家糊口
2008-06-10 12:40
不是tick的那个交易量啊大佬 那次在您启发下,我看到均线的速度,那么由前面另一位lhch仁兄的顺势EA复盘过程中 我感觉价格的运动,特别是大周期,例如月价格的运动,真的与低速参照系下的运动方式好相似 今天在大巴上看了一路E/U的月图,有很多地方,似乎可以看出主力的方向与位置,通过价格运动加速度的简化模拟 我是超级菜鸟,所以有此一问,最关键的问题是,价格的惯性,如何产生的呢?难道是主力建仓后引导突破与顺势系统产生? 而每一次反转背后,加速度似乎都能说明一些问题,特别是当速度与加速度都为0的时候,或者加速度方向配合K线本身形状以及位置的时候,您把下面这个指标看下代码,用EU月线复下盘,给点启示好不好?劳驾:) //+------------------------------------------------------------------+ //| MaSpeed.mq4 | //| Copyright ?2006, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "Copyright ?2006, MetaQuotes Software Corp." #property link "http://www.metaquotes.net" #property indicator_separate_window #property indicator_buffers 8 #property indicator_color1 MidnightBlue #property indicator_width1 2 #property indicator_color2 DarkTurquoise #property indicator_color3 Green #property indicator_color4 Red #property indicator_color5 White #property indicator_color6 Red #property indicator_color7 White #property indicator_color8 Yellow #property indicator_width8 1 #property indicator_level1 0 /* #property indicator_level2 15 #property indicator_level3 30 #property indicator_level4 45 #property indicator_level5 60 #property indicator_level6 -15 #property indicator_level7 -30 #property indicator_level8 -45 */ //---- input parameters extern int SPeriod = 10; extern int MPeriod = 3; //---- buffers double ExtMapBuffer0; double ExtMapBuffer1; double UpStrenth; double DownStrenth; double SumStrenth; double UpMa; double DownMa; double DisMa; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { IndicatorBuffers(8); SetIndexStyle(0,DRAW_HISTOGRAM,EMPTY,2); SetIndexDrawBegin(0,1); SetIndexBuffer(0,ExtMapBuffer0); SetIndexStyle(1,DRAW_ARROW); SetIndexArrow(1,119); SetIndexDrawBegin(1,2); SetIndexBuffer(1,ExtMapBuffer1); SetIndexStyle(2,DRAW_NONE); SetIndexDrawBegin(2,SPeriod+1); SetIndexBuffer(2,UpStrenth); SetIndexStyle(3,DRAW_NONE); SetIndexDrawBegin(3,SPeriod+1); SetIndexBuffer(3,DownStrenth); SetIndexStyle(4,DRAW_NONE); SetIndexArrow(1,119); SetIndexDrawBegin(4,SPeriod+1); SetIndexBuffer(4,SumStrenth); SetIndexStyle(5,DRAW_LINE); SetIndexDrawBegin(5,SPeriod+1+MPeriod); SetIndexBuffer(5,UpMa); SetIndexLabel(5,"UpMa"); SetIndexStyle(6,DRAW_LINE); SetIndexDrawBegin(6,SPeriod+1+MPeriod); SetIndexBuffer(6,DownMa); SetIndexLabel(6,"DownMa"); SetIndexStyle(7,DRAW_NONE); SetIndexDrawBegin(7,SPeriod+1+MPeriod); SetIndexBuffer(7,DisMa); SetIndexLabel(7,"DownMa"); IndicatorDigits(Digits+1); IndicatorShortName("PriceSpeed"); //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int limit,k; double up,down; int counted_bars=IndicatorCounted(); if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; for(int i=0; i0) up += ExtMapBuffer1[k]; else down += ExtMapBuffer1[k]; } UpStrenth = up/SPeriod; DownStrenth = -down/SPeriod; SumStrenth = UpStrenth - DownStrenth; } for(i=0;i
2008-06-10 10:01
2008-05-29 07:34
71
13946
2015-05-27 05:56
期待兄,请查收修改后的MaSpeed 参数: P_MA: 均线周期 KPeriod: 步长,即取几个时间单位作为分母,这里时间是不分周期的 DPeriod:速度的再次SMA平均,做慢线 //+------------------------------------------------------------------+ //| MaSpeed.mq4 | //| Copyright ?2006, MetaQuotes Software Corp. | //| http://www.metaquotes.net | //+------------------------------------------------------------------+ #property copyright "SnowMan" #property link "http://www.metaquotes.net" #property indicator_separate_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_color2 DarkTurquoise #property indicator_level1 0 /* #property indicator_level2 15 #property indicator_level3 30 #property indicator_level4 45 #property indicator_level5 60 #property indicator_level6 -15 #property indicator_level7 -30 #property indicator_level8 -45 */ //---- input parameters extern int P_MA = 20; extern int KPeriod = 2; extern int DPeriod = 3; //---- buffers double ExtMapBuffer0; double ExtMapBuffer1; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { IndicatorBuffers(2); SetIndexStyle(0,DRAW_HISTOGRAM); SetIndexDrawBegin(0,P_MA+KPeriod); SetIndexBuffer(0,ExtMapBuffer0); SetIndexStyle(1,DRAW_LINE); SetIndexDrawBegin(1,P_MA+KPeriod+DPeriod); SetIndexBuffer(1,ExtMapBuffer1); IndicatorDigits(Digits+1); IndicatorShortName("MaSpeed("+P_MA+","+KPeriod+","+DPeriod+")"); //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator deinitialization function | //+------------------------------------------------------------------+ int deinit() { //---- //---- return(0); } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int start() { int limit; int counted_bars=IndicatorCounted(); if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; for(int i=0; i
2008-06-07 13:37
2008-05-09 10:57
126
28993
2017-08-08 18:26
原帖由 lhch 于 2008-5-30 21:46 发表 http://www.talkfx.com/images/common/back.gif 开单加了魔术号码。。。但是。。。 //---- //A单 res =OrderSend(Symbol(),OP_BUY,getLots(),Ask,3,sl,0,expName,LHCHMAGIC+1,0,Red); if(res < 0) Print("Error opening Sel ...
原程序如下: //平仓= int modNum = 0.0; if (OrdersTotal() > 0) { for(i=OrdersTotal()-1; i>=0; i--) { modNum = 0; OrderSelect(i, SELECT_BY_POS, MODE_TRADES); modNum = MathMod(OrderMagicNumber(),4.0); /* if(OrderMagicNumber()==LHCHMAGIC+1) { if(OrderType()==OP_BUY) { if((dMA2>=Low[1]&&dMA2<=High[1])|| marketState == -1) OrderClose(OrderTicket(),OrderLots(),Bid,3,Green); } if(OrderType()==OP_SELL) { if((dMA2>=Low[1]&&dMA2<=High[1])|| marketState == 1) OrderClose(OrderTicket(),OrderLots(),Ask,3,Green); } } */ switch(modNum) { case 1: //平A仓 if(OrderType()==OP_BUY) { if((dMA2>=Low[1]&&dMA2<=High[1])|| marketState == -1) OrderClose(OrderTicket(),OrderLots(),Bid,3,Green); } if(OrderType()==OP_SELL) { if((dMA2>=Low[1]&&dMA2<=High[1])|| marketState == 1) OrderClose(OrderTicket(),OrderLots(),Ask,3,Green); } break; case 2: if(OrderType()==OP_BUY) { if((dMA3>=Low[1]&&dMA3<=High[1])|| marketState == -1) OrderClose(OrderTicket(),OrderLots(),Bid,3,Green); } if(OrderType()==OP_SELL) { if((dMA3>=Low[1]&&dMA3<=High[1])|| marketState == 1) OrderClose(OrderTicket(),OrderLots(),Ask,3,Green); } break; case 3: if(OrderType()==OP_BUY) { if((dMA4>=Low[1]&&dMA4<=High[1])|| marketState == -1) OrderClose(OrderTicket(),OrderLots(),Bid,3,Green); } if(OrderType()==OP_SELL) { if((dMA4>=Low[1]&&dMA4<=High[1])|| marketState == 1) OrderClose(OrderTicket(),OrderLots(),Ask,3,Green); } break; case 4: if(OrderType()==OP_BUY) { if((dMA5>=Low[1]&&dMA5<=High[1])|| marketState == -1) OrderClose(OrderTicket(),OrderLots(),Bid,3,Green); } if(OrderType()==OP_SELL) { if((dMA5>=Low[1]&&dMA5<=High[1])|| marketState == 1) OrderClose(OrderTicket(),OrderLots(),Ask,3,Green); } break; default: break; } } } //---- return(0); } 在复盘中,确实这样平仓,因为均线并不总是呈现多头或者空头顺序排列,有些问题,但是的确是按照您过去提的依次触发平仓的啊
2008-05-31 01:33
  • 1
  • 2
  • 3
前往
共 56 条

本站免责声明:

1、本站所有广告及宣传信息均与韬客无关,如需投资请依法自行决定是否投资、斟酌资金安全及交易亏损风险;

2、韬客是独立的、仅为投资者提供交流的平台,网友发布信息不代表韬客的观点与意思表示,所有因网友发布的信息而造成的任何法律后果、风险与责任,均与韬客无关;

3、金融交易存在极高法律风险,未必适合所有投资者,请不要轻信任何高额投资收益的诱导而贸然投资;投资保证金交易导致的损失可能超过您投入的资金和预期。请您考虑自身的投资经验及风险承担能力,进行合法、理性投资;

4、所有投资者的交易帐户应仅限本人使用,不应交由第三方操作,对于任何接受第三方喊单、操盘、理财等操作的投资和交易,由此导致的任何风险、亏损及责任由投资者个人自行承担;

5、韬客不隶属于任何券商平台,亦不受任何第三方控制,韬客不邀约客户投资任何保证金交易,不接触亦不涉及投资者的任何资金及账户信息,不代理任何交易操盘行为,不向客户推荐任何券商平台,亦不存在其他任何推荐行为。投资者应自行选择券商平台,券商平台的任何行为均与韬客无关。投资者注册及使用韬客即表示其接受和认可上述声明,并自行承担法律风险。

版权所有:韬客外汇论坛 www.talkfx.com 联络我们:[email protected]