Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
12
Barat Ali Rezai  

XAUUSD price = 2000.440    ==>  3 digits chart

XAUUSD price = 2000.44    ==>  2 digits


Gold High can open a maximum of 7 positions in the same direction.
in 900 points loss, the EA will open 2 extra trades, and in 1800 points loss the EA will open 4 extra trades. all those 7 open positions have the same stop loss so all of them will close at the stop loss of the first trade.
the risk will be 2600+(2 * 1700)+(4 * 800) = 9200 points

so the risk will be about $92 per 0.01 lot size in most brokers.

Barat Ali Rezai  
Most of the entries are trend followers.
And there are a few reversal point entries.
The EA uses trailing stop-loss in profit to close the trades.
The entries are a combination of several strategies.
Each one of those strategies has been optimized based on historical data.
Barat Ali Rezai  

controlling the risk is easy with Gold High.

for example, my Gold High S signal is trading with a 0.05 lot size so the maximum risk is about $460; and the current balance of the account is $3034 so the maximum risk will be about 15%


there is a "ChooseEA" input; you can choose the original strategy (Gold High) or the SecondSet.

the SecondSet risks more than the original strategy (Gold High).

the SecondSet risks about $174 per 0.01 lot size in most brokers.

Barat Ali Rezai  
the original strategy (Gold High) showed stability on the live signal for 43 weeks. but the SecondSet is new.

if you want to use the SecondSet do a backtest to make sure it works well on your broker.
Barat Ali Rezai  
SecondSet opens extra trades every 900 points (equal to 9000 points for 3 digits accounts). 2, 4, 8


the SL is 3200 points (equal to 32000 points for 3 digits accounts) for SecondSet so it can open a maximum of 15 open positions in the same direction.


SecondSet:
in 900 points (equal to 9000 points for 3 digits accounts)  loss, the EA will open 2 extra trades, in 1800 points  (equal to 18000 points for 3 digits accounts) loss the EA will open 4 extra trades, and in 2700 points  (equal to 27000 points for 3 digits accounts) loss the EA will open 8 extra trades. All those 15 open positions have the same stop loss so all of them will close at the stop loss of the first trade.
the risk will be 3200+(2 * 2300)+(4 * 1400)+(8 * 500) = 17400 points

so the risk will be about $174 per 0.01 lot size in most brokers.


SecondSet has been optimized for the most profit and most number of trades so differences in spreads can make different results.

backtest it before using it to make sure it works well.

the original strategy (Gold High) showed stability on the live signal for 43 weeks but SecondSet is new so I think if you want to use SecondSet it is better to use it with low risk (low lot size).
Barat Ali Rezai  

********************  VERSION 3 ***************************

I added a news filter.

For using the NEWS FILTER you need to allow web request from :

https://calendar.fxstreet.com

https://worldtimeapi.org


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.

MinProfitTrailSLForRecovery:  minimum required profit per point to activate the trailing stop loss when when recovery trades opened.

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

MinProfitTrailSLForRecoveryL1SecondSet:  minimum required profit per point to activate the trailing stop loss when only one level of recovery trades opened. (only for SecondSet settings)

MinProfitTrailSLForRecoveryL2SecondSet: minimum required profit per point to activate the trailing stop loss when only 2 levels of recovery trades opened.   (only for SecondSet settings)

MinProfitTrailSLForRecoveryL3SecondSet:  minimum required profit per point to activate the trailing stop loss when only 3 levels of recovery trades opened.   (only for SecondSet settings)

MinProfitTrailSLForRecoveryL4SecondSet:  minimum required profit per point to activate the trailing stop loss when only 4 levels of recovery trades opened.  (only for SecondSet settings)

MinProfitTrailSLForRecoveryL5SecondSet:  minimum required profit per point to activate the trailing stop loss when only 5 levels of recovery trades opened.  (only for SecondSet settings)

CutProfitLevel5SecondSet: something like break even when all 5 levels of recovery trades opened.  (only for SecondSet settings)

MinProfitCutProfitLevel5SecondSet:  minimum required profit per point to activate CutProfitLevel5.  (only for SecondSet settings)

StartLevelOfTSLrecovery SecondSet :  the first distance per point of the trailing stop loss when the recovery trades opened.  (only for SecondSet settings)

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.

edit | complain | reply

Жалгаскали Усенгалиев  
привет Барат после обновления не могу голд хай повесить на график объясни пожалуйста я новичок 
Barat Ali Rezai  
Жалгаскали Усенгалиев #:
hi Barat after the update I can’t put gold high on the chart please explain I’m a newbie

Hi.

please send me screenshots of the "Journal" and the "Experts" windows in your MetaTrader after you attach the EA.

try again using "Use News Filter = false" setting.

Barat Ali Rezai  
Жалгаскали Усенгалиев #:
привет Барат после обновления не могу голд хай повесить на график объясни пожалуйста я новичок 

I did not code the News Filter function myself. I ordered it from Freelance.

I contact the coder and asked him to fix the problem. I will fix the problem and update the EA soon.

Barat Ali Rezai  
The ThirdSet can open a maximum of 10 open positions. and the maximum risk is about $210 per 0.01 lot size in most brokers.
Barat Ali Rezai  
the ThirdSet opens one extra trade every 420 points (equal to 4200 points in 3 digits accounts)


The ThirdSet can open a maximum of 10 open positions. and the maximum risk is about $210 per 0.01 lot size in most brokers.


All those 10 open positions have the same stop loss so all of them will close at the stop loss of the first trade.

the maximum risk will be 4000 + 3580 + 3160 + 2740 + 2320 + 1900 + 1480 + 1060 + 640 + 220 = 21100 points (equal to 211000 in 3 digits accounts)
Barat Ali Rezai  
If everything is correct in your test but still there is a bad result, you should test the EA on another broker.

The EA works well on most brokers but some brokers have a very wide spread in news time which can be bad for the EA.

I am trying to fix the news filter and add it to the EA. (some brokers have very wide spreads in news times)
Barat Ali Rezai  
The ThirdSet showed bad results. Do not use the ThirdSet setting.
Solo gli utenti che hanno acquistato o noleggiato il prodotto possono lasciare commenti
12