@神反转ea–做单准确率高达80%](这里写自定义目录标题)
欢迎使用Markdown编辑器
神反转这款EA不是传统意义上的加仓策略,而是在策略上有先进创新玩法。它算一款做单准确率75% 以上的策略。
历史数据统计:
历史数据结账单:
开仓条件:其首单开仓的开仓条件为当前时间框架下离144期均线偏离点数的位置(默认,可以人工设置)。如果在144期均线下方偏离点数的地方,则做多;在144期上方偏离点数的地方,则做空。这一开仓条件的用意很显然:在偏离均线较远的地方,价格回调的几率更大,逆势行走的距离会很短,从而使回调盈利的概率增大,风险减小。
策略优点:在偏离均线较远的地方,价格回调的几率更大,逆势行走的距离会很短,从而使回调盈利的概率增大,风险减小。也带有整体金额止损,可以降低风险,这算上是该款EA独到的地方。
平仓条件:EA采用了“部分平仓”的策略,即将部分盈利单与部分亏损单对冲,获取少许利润,而不是等到价格回调到账户整体盈利的时候全部平仓。“部分平仓”的策略的优点是可以抓住市场最小的回调机会来减轻仓位,也可以按照点位来盈利平仓。
**风险点:**极限单边行情,ea超过设定止损值,ea会自动止损
//-------------------------------------------------------------------------------------------------------------------------------------------------
// New buy orders
TotalBuyOrders = CountOfOrders(MagicNumberBuy);
if(TotalBuyOrders > 0 && TotalBuyOrders < MaxTrades)
{
OrderSended = -1;
LastBuyPrice = FindLastOrderParameter(MagicNumberBuy, "price");
if(LastBuyPrice - Ask >= GetPipstepForStep(TotalBuyOrders + 1) * vPoint)
{
BLot = GetLotForStep(MagicNumberBuy, TotalBuyOrders);
BComment = StringSubstr(LastOrderComment, 0, StringFind(LastOrderComment, "|", 0)) + "|";
if(CountOfOrders(MagicNumberBuy) < 加仓层数)
OrderSended = SendMarketOrder(OP_BUY, BLot, 0, 0, MagicNumberBuy, BComment);
}
}
//-------------------------------------------------------------------------------------------------------------------------------------------------
// New sell orders
TotalSellOrders = CountOfOrders(MagicNumberSell);
if(TotalSellOrders > 0 && TotalSellOrders < MaxTrades)
{
OrderSended = -1;
LastSellPrice = FindLastOrderParameter(MagicNumberSell, "price");
if(Bid - LastSellPrice >= GetPipstepForStep(TotalSellOrders + 1) * vPoint)
{
SLot = GetLotForStep(MagicNumberSell, TotalSellOrders);
SComment = StringSubstr(LastOrderComment, 0, StringFind(LastOrderComment, "|", 0)) + "|";
if(CountOfOrders(MagicNumberSell) < 加仓层数)
OrderSended = SendMarketOrder(OP_SELL, SLot, 0, 0, MagicNumberSell, SComment);
}
}
//-------------------------------------------------------------------------------------------------------------------------------------------------
//Move Take Profit
CheckTakeProfit();
//-------------------------------------------------------------------------------------------------------------------------------------------------
//Check new bar...first orders of the series only according to new bars
if(TimePrev == Time[0])
{
return(0);
}
TimePrev = Time[0];
int TradeSignal = GetSignal();
if(Reverse_Orders)
{
TradeSignal = -TradeSignal;
}
// New buy series ...
if(TotalBuyOrders == 0 && NewTradeBuy && TradeSignal > 0 && (DualTrade == true || TotalSellOrders == 0))
{
SendMarketOrder(OP_BUY, GetStartLot(), StaticTakeProfit, 0, MagicNumberBuy, TimeCurrent() + "|");
}
// New sell series ...
if(TotalSellOrders == 0 && NewTradeSell && TradeSignal < 0 && (DualTrade == true || TotalBuyOrders == 0))
{
SendMarketOrder(OP_SELL, GetStartLot(), StaticTakeProfit, 0, MagicNumberSell, TimeCurrent() + "|");
}
return(0);在这里插入代码片
你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。
新的改变
我们对Markdown