last ...
This commit is contained in:
@@ -77,7 +77,8 @@ input double eaMaxDrawdownPercentForOpenTrades = 3; // Max Drawdown Percent for
|
|||||||
input group "Hedging";
|
input group "Hedging";
|
||||||
input bool eaAllowHedging = true; // Allow Hedging Trades
|
input bool eaAllowHedging = true; // Allow Hedging Trades
|
||||||
input int eaMinTradesForHedge = 2; // Minimum Open Trades for Hedging
|
input int eaMinTradesForHedge = 2; // Minimum Open Trades for Hedging
|
||||||
input double eaMinimumProfitPerVolumeForHedging = 1.5; // Minimum Required Profit per Volume for Hedging
|
input double eaHedgeVolumeFactor = 0.01; // Volume Factor for Hedging
|
||||||
|
input double eaMinimumProfitPerVolumeForHedging = 1; // Minimum Required Profit per Volume for Hedging
|
||||||
|
|
||||||
//
|
//
|
||||||
// Risk Management > Trailling Stop ...
|
// Risk Management > Trailling Stop ...
|
||||||
@@ -364,7 +365,7 @@ bool InitialEA()
|
|||||||
//
|
//
|
||||||
// Configure Hedging ...
|
// Configure Hedging ...
|
||||||
eaTradeHandler.AllowHedging(eaAllowHedging);
|
eaTradeHandler.AllowHedging(eaAllowHedging);
|
||||||
eaTradeHandler.HedgeVolumeFactor(eaVolume);
|
eaTradeHandler.HedgeVolumeFactor(eaHedgeVolumeFactor);
|
||||||
eaTradeHandler.MinTradesForHedge(eaMinTradesForHedge);
|
eaTradeHandler.MinTradesForHedge(eaMinTradesForHedge);
|
||||||
eaTradeHandler.HedgeMinProfitPerVolumeFactor(eaMinimumProfitPerVolumeForHedging);
|
eaTradeHandler.HedgeMinProfitPerVolumeFactor(eaMinimumProfitPerVolumeForHedging);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user