Nur Nutzer, die das Produkt gekauft oder gemietet haben, können Kommentare hinterlassen
Barat Ali Rezai  
Special DrawDown control function :


Inputs:

StopNewTradesInDD : if you choose "true" the EA will not open new trades after the "StopNewTradesInHowManyPercentDD" percent drawdown.

StopNewTradesInHowManyPercentDD : the required percentage of drawdown to stop opening new trades.

CloseAllTradesInDD : if you choose "true" the EA will close all the open positions on the account at the "CloseAllInHowManyPercentDD" percent drawdown.

CloseAllInHowManyPercentDD : the required percentage of drawdown to close all the trades.

the "CloseAllTradesInDD" function does not use the magic number and it will close all the open positions even if they are not opened by the EA. So you just need to enable the "CloseAllTradesInDD" function in one of the charts and it will close all the open positions at the "CloseAllInHowManyPercentDD" percent drawdown on all of the charts.

for the "CloseAllTradesInDD" function, your chart's background color should not be "LightCoral" color.

The EA calculates the drawdown based on this formula: drawdown percentage = ((Balance-Equity) / Balance) * 100

backtest it in visual mode to understand it before using it.
Barat Ali Rezai  

********************  VERSION 2 ***************************

Added Inputs:

OpenLongTrades: if(true) ==>  allowed opening buy positions.

OpenShortTrades: if(true) ==>  allowed opening sell positions.

EnableTrailingSL: if(true) ==>  allowed using trailing stop loss for the first position.

MinProfitTrailSL: minimum required profit per point to activate the trailing stop loss for the first position.

StartLevelOfTSL: the first distance per point of the trailing stop loss for the first position.

AllowExtraTrades:  if(true) ==>  allowed opening recovery positions.

RecoveryTradeDistance: the distance per point between recovery levels.

MaxNumberOfBuy: maximum allowed long open positions.

MaxNumberOfSell:  maximum allowed short open positions.

EnableTrailingSLForRecovery:  if(true) ==>  allowed using trailing stop loss when recovery trades opened.

MinProfitTrailSLForRecoveryL1:  minimum required profit per point to activate the trailing stop loss when only one level of recovery trades opened.  

MinProfitTrailSLForRecoveryL2: minimum required profit per point to activate the trailing stop loss when only 2 levels of recovery trades opened.  

MinProfitTrailSLForRecoveryL3:  minimum required profit per point to activate the trailing stop loss when only 3 levels of recovery trades opened.  

MinProfitTrailSLForRecoveryL4:  minimum required profit per point to activate the trailing stop loss when only 4 levels of recovery trades opened. 

MinProfitTrailSLForRecoveryL5:  minimum required profit per point to activate the trailing stop loss when only 5 levels of recovery trades opened. 

CutProfitLevel5: something like break even when all 5 levels of recovery trades opened.

MinProfitCutProfitLevel5:  minimum required profit per point to activate CutProfitLevel5.

StartLevelOfTSLrecovery:  the first distance per point of the trailing stop loss when the recovery trades opened.

DynamicRecoveryLevels: if(true) ==> the recovery trades open only when the moving averages show a sign that the trend is gonna reverse.

DSMA: small moving average for  DynamicRecoveryLevels.

DBMA: big moving average for  DynamicRecoveryLevels.

**************  by using these inputs we can create different settings for each currency pair ****************

1- MaxPairsWithOpenPositions: maximum allowed pairs with open positions at the same time. for example, if you use " MaxPairsWithOpenPositions = 1" when one pair has open positions the other pairs are not allowed to open positions.

2- AvoidTradingAfterGaps: if(true) ==> the EA is not allowed to open new series of trades after price gaps.

3- HowManyCandlesAfterGaps: for example, if you use " AvoidTradingAfterGaps = true" and  "HowManyCandlesAfterGaps = 50" the EA is not allowed to open new series of trades for 50 candles after the price gap.

4- HowManyPointsGaps: how many points at least should be the price gap for the  AvoidTradingAfterGaps function.

*** Some brokers like ICMarkets hide the price gaps so I added  the AvoidTradingAfterHiddenGaps function too ***

5- AvoidTradingAfterHiddenGaps:  if(true) ==> the EA is not allowed to open new series of trades after hidden price gaps.

6- HowManyCandlesAfterHiddenGaps:  for example, if you use "  AvoidTradingAfterHiddenGaps = true" and  " HowManyCandlesAfterHiddenGaps = 50" the EA is not allowed to open new series of trades for 50 candles after the hidden price gap.

7- HowManyPointsHiddenGaps: how many points at least should be the hidden price gap for the  AvoidTradingAfterHiddenGaps function. (the AvoidTradingAfterHiddenGaps function checks the abnormal candles that their (highest price - lowest price) are bigger than " HowManyPointsHiddenGaps" points.)

Жалгаскали Усенгалиев  
привет Барат.я купил млечный путь и поставил на реальный счет.поставил настройки по умолчанию.это нормально?
sherbird  

What is your recommended amount if I choose MoneyManagementType = Auto Lot? 0.01 lot per $6000? I think it's too much based on your signal initial deposit = $100. Please reply to me.

PS: we may need to update the news URL since the address is not working anymore. Thanks.
Nur Nutzer, die das Produkt gekauft oder gemietet haben, können Kommentare hinterlassen