• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

New EA Correlation EA Pro (MT5)

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 ierror screenshot.jpg
 

Attachments

  • error screenshot.jpg
    error screenshot.jpg
    194.9 KB · Views: 655
upload_2018-6-12_10-41-33.png

Based on your suggestion, I can see the panel working. Thanks, will update you the result of trading.
 

Attachments

  • upload_2018-6-12_10-41-33.png
    upload_2018-6-12_10-41-33.png
    333.4 KB · Views: 655
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.


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 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

Perfect, thank you, this is because the EA don´t find the "myoverlay" file, and I think that I know why, let me explain:

The Overlay file is an Indicator, when you set the EA with the set file that I gave you, the overlay does not activate, but if you choose this parameter the EA must close by overlay too.

The Overlay is and indicator that calculate both pairs prices, if both are at same level the order is close, if the Overlay is not working the EA only close by TP and % of correlations.

Also, when you download the files, this site (SoeHoe) change it name and put something like SoeHoe_ID...... at the begining original file name....

SO the solution is: check your Indicator folder and be sure that these file is called only "myoverlay.ex4" for MT4 and only "overlay.ex5" in the MT5 platform folder indicator, then restart the Platforms.
 

Attachments

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?
 
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?

ok, the EA open 2 orders at same time, these both order are correlated, for example: buy eurusd and sell euraud.... and so on...

if these both orders (trade) go in profit and has 1.000 usd (TP1), the "trade" (both orders) are closed.

if these both orders (trade) go in drawdown and both orders has - 3.0000 usd, so the system open others 2 orders making a basked each 2.00o usd of drawdown, but when the this basket has 2.000 of profits all the orders (more than 2) are closed with TP2.
 
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
 
upload_2018-6-13_10-23-53.png
This is the testing result so far. I modified the setting as follow
upload_2018-6-13_10-25-10.png
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.
 

Attachments

  • upload_2018-6-13_10-23-53.png
    upload_2018-6-13_10-23-53.png
    107.4 KB · Views: 639
  • upload_2018-6-13_10-25-10.png
    upload_2018-6-13_10-25-10.png
    57.9 KB · Views: 637
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


ok,
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.
 
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.


Ok William, with this setting you need an account of 1.000 or 100.... I think.... please see the answer that I wrote to Eland, you can ask me again if you need, thank you!
 
In the panel,

when the square is RED = there are not correlation in the long period "Base".

when the square is GREEN = these both pairs are correlated in the long period.

when the square is BLUE = these both paris are correlated in the long period AND this correlation is under the normal balance in the ACTUAL period (1 day by default).
 
the EA study an amount of bars in the history, to calculate the correlations, so... there are 2 parameters for the "barras", these "barras" are "periods":

"Barras Base" is the long period and "Barras Actual" is the short period, this short period is not recommended to change it because is in 1 day (24 hours) but the long period you can choose in 1 month, 3 months, and so on, only make the calculates, 6000 are 6000 hours, so I think you can set it with a min of 240 so it is 240 hours or 10 days like the min amount, and it is very well from 900 up 6000.....
 
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.

upload_2018-6-13_19-42-14.png
Automagico, you may need to adjust the size of the array. Thanks for your attention.
 

Attachments

  • upload_2018-6-13_19-42-14.png
    upload_2018-6-13_19-42-14.png
    380.4 KB · Views: 629
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.

Thank you William, yes I saw that the EA don´t re-open the trading with "START".
I will contact to my programmer and tell this details.
I see that it is profitable with Global Profits.

I recommend you to use a large "Max Trades" and "Max Charts"...
 
I see that in MT4 version I have to manually restart the EA again each time that it close by Global TP, I don´t know if this happen in the MT5 version too, and I don´t know if is a good or bad idea because we can have more control in it, perhaps we can do it optional.
 
ok,
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
 
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

hello Eland, this happen to me too but only with "rares" or exotics pairs like usdchn and so on....
I will tell this detail to my programmer but I think is not so much important because like I said is only with some exotic pairs...

I am using the MT4 version in a demo with 10.000 usd now and it has 0.5% each time that I "restart" the EA.
I attached the Set file here.
 

Attachments

Back
Top