I have manage to get it trading. Am running it on Mt4 demo.
There is a few questions before i start adjusting and backtesting.
What is the stack lots? is this the next step opening lots ? 1000? meaning
The min distance 1000. i presume this is link to the above stack lots distance.
The set file defualt you gave was TP 1000 and tp2 2000? is this in Pips or points? or its overall 1000$ as there is another parameter
Averaging 2000? and global profit 0.
Then a global stop loss of 30000. If this is standard account type. its wow.
The lot size i tried. i think its a auto lot sizing right?
Thanks for clarfying the above questions.
Hi autom:
I think the coding has some errors. Attached screenshot.
I edit the global Tp. it open alot of trades almost all pairs.
But then the expert tab has this running error.
If i only upload the setfile andd do not edit anything. Then it will be running with no errors.
Thanks
If iView attachment 47546
I want to clarify, the default value of TP1 is 1000 and TP2 is 2000. That's mean, it take profit after the trade has 1000 profit. Is that correct?hello,
the TP1 is for each trade, the TP2 if if this trade go down and the Average (other trades in the same pair) is actived; it is all in USD or in the account currency, not in pips. When the Average go down 2.000 usd (is an example) the EA open other 2 orders like and all the "basket must take 2.000 usd of profit to close (this is the TP2); if only are the two first orders and not Average these 2 orders must take only 1.000 usd (this is the TP1).
Global Profits is the profits with ALL the ACTUAL trades in the accuount, is like all the orders with differents pairs are a big Basket.
Lot size is X lots per each Y usd, you can change both parameters, by default is 0.01 by 1.000 usd or 100 usd....
best regards
I want to clarify, the default value of TP1 is 1000 and TP2 is 2000. That's mean, it take profit after the trade has 1000 profit. Is that correct?
hello,
the TP1 is for each trade, the TP2 if if this trade go down and the Average (other trades in the same pair) is actived; it is all in USD or in the account currency, not in pips. When the Average go down 2.000 usd (is an example) the EA open other 2 orders like and all the "basket must take 2.000 usd of profit to close (this is the TP2); if only are the two first orders and not Average these 2 orders must take only 1.000 usd (this is the TP1).
Global Profits is the profits with ALL the ACTUAL trades in the accuount, is like all the orders with differents pairs are a big Basket.
Lot size is X lots per each Y usd, you can change both parameters, by default is 0.01 by 1.000 usd or 100 usd....
best regards
Hi automagico
Thanks for your reply and explaination.
But it doesnt make sense to set 1000 or 2000 if trading on a 1000 account right. As the lots size i saw was automatic even i changed it.
1000 equity On UCAD trading at 0.01. with the set file 1000 TP 1 and 2? If setting it to 10-20 bucks then maybe its a good idea
AS this EA parameter for this doesnt auto read and adjust the TP according to equity setting right? Its a manual.
If 100,000 equity setting 1000 and 2000 will make sense as it will be trading at 1.0 or 10,000 trading at 0.1. TP 1 and TP2 should read according.
So the TP1 and 2 should be adjusted manually and not according to Set file.
I have edited the name of the file. It seems to be working.
But i tried this below setting. and the parameter are quite messy. Sorry to ask
lot size 0.01
stack lot 1000.
Tp 1 = 1000
Tp2= 2000
Average = 2000
Sl 30000
Senario 1:
I adjusted it.
lots 0.01
stack 1000
TP1 = 10
Tp2 = 20
The Ea started trading lot size at 1.0 per 1000 equity.
Senario 2:
lot size 0.01
Tp1 1000
Tp2 2000
Av : 2000
Sl 30000
Golbal P: 500
This setting. It open trades at 0.01 per 1000.
And after it open trades. It closes all the trades, Then reopen again and close all.
All closed at losses and then it start opening some trades again and close some. Not all this time
After that it remains as its was.
Please advised why is the setting above having this lot size issue while adjusting TP to take profit faster at 10 bucks. the lost size X10 times
Ermm....wonder if you check if codes are correct?
Jornal has no errors
EA tab has no more errors as well after the overlay is edited.
Cheers. Happy to do the testing
View attachment 47660
This is the testing result so far. I modified the setting as follow
View attachment 47661
I changed TP1, TP2, Average, StopLossGlobal and TPGlobal. As you can see the EA is using MM, using the absolute value to TP is not recommended. I would suggest you use percentage instead of absolute value. For the testing, the result is positive.
After it take profit, the error "array out of range in 'CORRELATION EA PRO MT5' appear again and the EA is removed.
I drag the EA back to the chart and set the BarrasBase back to 900. The error still occur.
View attachment 47725
Automagico, you may need to adjust the size of the array. Thanks for your attention.
Hiok,
the set file that I attached is only and example, you should use it in a account with 100.000 usd or 1.000 cent.
If you use an account with 1.000, you must use smaller numbers in TP1, TP2, TP Global, Average and StopLoss Global (I don´t remember the exact names but these are the ideas), ALL THESE PARAMETERS ARE IN USD or in the account currency.
Stake per Lots and Starting lots work together, if you put 0.01 in Starting Lots and 1000 in Stake per Lots, you always will have order of 0.01 each 1.000 usd in your balance.
BUT like I said, the EA will place 2 order each time, ok? so one of these orders will have the 0.01 per each 1.000 usd (if is configurated) and the other will have the right lots to make each pips cost the same.... so, if the eurusd go up and the usdchf go down, no matter because the eurusd pip and the usdchf pip will cost (gain or lose) the same in usd.... I don´t know if I am explaining.
Hi
I think you didn’t read what I posted clearly,
There is something wrong with adjusting the tp1 tp2.
Once I adjust. Start ea. The trades will start 1.0/1000 where setting is 0.01 per 1000.
While if I used your set file. The ea starting size is correct. I trued a few times. The tp 1 and 2 and sl can’t adjst. Once adjust. The trades become very weird.
I adjust the Barra to 900. It start trading with about 18 trades all diff pairs. If I leave it default. It started trading with 2 only.
Pls let me know if there is error on tp issue. As mine happen that way, I can attach the journal if needed.
Cheers