• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 4:45am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 4:45am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Why is EU correlated with Oil? 5 replies

who trades Correlated pairs? 0 replies

correlated pairs 2 replies

Pairs least correlated to GBP/JPY? 1 reply

The correlated arb/hedge-system 21 replies

  • Commercial Content
  • /
  • Reply to Thread
  • Subscribe
  • 323
Attachments: Corti - Correlated EA
Exit Attachments

Corti - Correlated EA

  • Last Post
  •  
  • 1 2Page 3456 61
  • 1 2Page 34 61
  •  
  • Post #41
  • Quote
  • Aug 7, 2020 3:59am Aug 7, 2020 3:59am
  •  mankindeg
  • | Joined Mar 2015 | Status: Member | 143 Posts
When does the EA actually trade?

I mean, I understand that it's correlated. Like, you buy GPUSD and sell USDJPY. Makes sense.

But what if then the GBPUSD falls, and USDJPY rises? The correlation obviously persists, but not to our advantage.
 
 
  • Post #42
  • Quote
  • Aug 7, 2020 4:39am Aug 7, 2020 4:39am
  •  ea0setup
  • | Joined Aug 2018 | Status: Member | 124 Posts
Thanks for the efforts for the EA. Simple way to trade, without too much add ons...I am live with 160 just to test in reality (default sets) and with 2 different demos on different pairs (with 10 minutes restart)
 
 
  • Post #43
  • Quote
  • Aug 7, 2020 4:43am Aug 7, 2020 4:43am
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting mankindeg
Disliked
When does the EA actually trade? I mean, I understand that it's correlated. Like, you buy GPUSD and sell USDJPY. Makes sense. But what if then the GBPUSD falls, and USDJPY rises? The correlation obviously persists, but not to our advantage.
Ignored
Read all posts here and online about how to profit with trading correlation and gaps created in the price between them.
Finance is bullshit. Math is truth. - Harry Markopolos
 
 
  • Post #44
  • Quote
  • Aug 7, 2020 4:47am Aug 7, 2020 4:47am
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting ea0setup
Disliked
Thanks for the efforts for the EA. Simple way to trade, without too much add ons...I am live with 160 just to test in reality (default sets) and with 2 different demos on different pairs (with 10 minutes restart)
Ignored
If you are live, i suggest you to to increase cooling more than 240min.
My goal is :
1.to get data from all my demos
2. Use the best performing pair group
3. Mini test it live for 1 month with 0.02 CCpoint
4. Go live big if 3 is successful with at least 360min cooling time.
Finance is bullshit. Math is truth. - Harry Markopolos
 
 
  • Post #45
  • Quote
  • Aug 7, 2020 4:58am Aug 7, 2020 4:58am
  •  ea0setup
  • | Joined Aug 2018 | Status: Member | 124 Posts
Quoting mastercool66
Disliked
{quote} If you are live, i suggest you to to increase cooling more than 240min. My goal is : 1.to get data from all my demos 2. Use the best performing pair group 3. Mini test it live for 1 month with 0.02 CCpoint 4. Go live big if 3 is successful with at least 360min cooling time.
Ignored
Roger that. IŽll increase the pause in real then. I am using the 10 mins in demo just to stress the EA
 
 
  • Post #46
  • Quote
  • Aug 7, 2020 6:56am Aug 7, 2020 6:56am
  •  northwind
  • Joined Oct 2017 | Status: Member | 362 Posts
[quote=northwind;13098706]Hi Mastercool66, Subscribed. Thank you for sharing a great EA. Fantastic job. Have installed it and running on two different brokers. One in Europe and one in USA (Oanda). EA is working like a champ. But.... The USA broker sends repeated warnings for violation of FIFO rules when closing trades of same pair, e.g. USDJPY, USDJPY. Would it be possible to have the EA first close the trade that is oldest?


Hi mastercool66,
Trying to help out.
To deal with the FIFO problem for traders in the USA I modified the EA to have user input for separate BUY-lots and Sell-lots.
If the hedged trade requires buying or selling 2 X of the same pair, just double the CCPP instead of entering 2 trades.
E.g. USDJPY CCPP = 0.04 instead of 0.02.

This creates a new problem that cannot have Group 2 or Group 3 if they wouldn't have the 2 X in the Buy or Sell.

The fix:
Added 2 new variables and changed the buy-loop and sell-loop.
input double BUY_M_Common_Cost_Per_Point=0.02;//BUY Common Cost Per Point
input double SELL_M_Common_Cost_Per_Point=0.02;//SELL Common Cost Per Point.

User input looks like this:
Attached Image
Attached File
File Type: mq4 Corti-magic-lots.mq4   22 KB | 555 downloads
Perfidious Pips
 
3
  • Post #47
  • Quote
  • Aug 7, 2020 7:00am Aug 7, 2020 7:00am
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting northwind
Disliked
Quoting northwind
Disliked
Hi Mastercool66, Subscribed. Thank you for sharing a great EA. Fantastic job. Have installed it and running on two different brokers. One in Europe and one in USA (Oanda). EA is working like a champ. But.... The USA broker sends repeated warnings for violation of FIFO rules when closing trades of same pair, e.g. USDJPY, USDJPY. Would it be possible to have the EA first close the trade that is oldest? Hi mastercool66, Trying to help out. To deal with the FIFO problem for traders in the USA I modified the EA to have user
Ignored
...
Ignored
Respect.
Please follow up later this month with demo accounts how successful will it be.
Finance is bullshit. Math is truth. - Harry Markopolos
 
 
  • Post #48
  • Quote
  • Edited at 7:23am Aug 7, 2020 7:13am | Edited at 7:23am
  •  northwind
  • Joined Oct 2017 | Status: Member | 362 Posts
Quoting mastercool66
Disliked
{quote}{quote} Respect. Please follow up later this month with demo accounts how successful will it be.
Ignored
Had it running while I typed my reply.
Worked as expected for quick profit.

Now I can't get the screen shot to show here.
Perfidious Pips
 
1
  • Post #49
  • Quote
  • Aug 7, 2020 9:52am Aug 7, 2020 9:52am
  •  shiva
  • Joined Aug 2007 | Status: Doing It In Dubai | 2,453 Posts
Quoting mastercool66
Disliked
{quote} Hey Shiva, Sorry for replying late. M_TP=5.0 = Close on profit = 5 M_Common_Cost_Per_Point=0.5 - it calculates the lot before opening the order based on this input so u adjust it depending on your balance. Each pair has different cost per pip/point ,thats why i use this logic. Is TP dollar value? - depends on your account currency. Is cost-per-point Lotsize? - See above.
Ignored
Thanks, MasterCool for making things clear.
 
 
  • Post #50
  • Quote
  • Aug 7, 2020 10:50am Aug 7, 2020 10:50am
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
The 2nd time it goes - 55...due to unemployment USA news inpact on DXY.
Lets see when it will close in profit.

The EA was not planned to trade today as friday, but i activated it myself to stress test the news.
Attached Image (click to enlarge)
Click to Enlarge

Name: IMG_20200807_164704.jpg
Size: 155 KB
Finance is bullshit. Math is truth. - Harry Markopolos
 
1
  • Post #51
  • Quote
  • Aug 7, 2020 11:39am Aug 7, 2020 11:39am
  •  kafeldom
  • | Joined Jan 2017 | Status: Young Trader | 31 Posts
I coded the EA into cTrader so I could backtest it using tick data. The EA gets good results at first, but goes through deep drawdowns and always ends up bust.

I'm not 100% sure I coded the algo correctly and definitely implemented some features differently. I also added compounding but the results were bad.
Attached Image (click to enlarge)
Click to Enlarge

Name: Capture.PNG
Size: 84 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: Capture2.PNG
Size: 29 KB
 
2
  • Post #52
  • Quote
  • Aug 7, 2020 11:41am Aug 7, 2020 11:41am
  •  cupidsux
  • | Joined Nov 2018 | Status: Member | 69 Posts
Demo - just testing on demo currently, max drawdown around 400 + - , painful lol , took around 3-4 days to recover. abit hard to stomach the drawdown comparatively to daily gains. T_T
Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot0.png
Size: 23 KB
 
1
  • Post #53
  • Quote
  • Aug 7, 2020 11:58am Aug 7, 2020 11:58am
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting cupidsux
Disliked
Demo - just testing on demo currently, max drawdown around 400 + - , painful lol , took around 3-4 days to recover. abit hard to stomach the drawdown comparatively to daily gains. T_T {image}
Ignored
With that CCPoint is obvious -400.
Finance is bullshit. Math is truth. - Harry Markopolos
1
 
  • Post #54
  • Quote
  • Edited at 1:28pm Aug 7, 2020 12:33pm | Edited at 1:28pm
  •  BpmFx
  • | Joined Aug 2020 | Status: Member | 8 Posts
Just converted the ea to mt5. Here is real ticks backtest from January 2019.

Attached Image (click to enlarge)
Click to Enlarge

Name: settings.PNG
Size: 28 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: grafico.PNG
Size: 31 KB

Attached Image (click to enlarge)
Click to Enlarge

Name: result.PNG
Size: 39 KB
Attached Files
File Type: ex5 corti.ex5   229 KB | 286 downloads
File Type: mqh mql4_to_mql5.mqh   8 KB | 347 downloads
File Type: mqh MT4Orders.mqh   88 KB | 342 downloads
File Type: mq5 corti.mq5   22 KB | 417 downloads
 
2
  • Post #55
  • Quote
  • Aug 7, 2020 1:42pm Aug 7, 2020 1:42pm
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting BpmFx
Disliked
Just converted the ea to mt5. Here is real ticks backtest from January 2019. {image}{image} {image} {file} {file} {file} {file}
Ignored
Thank you!
I am not sure about the tickdata MT5 offers , but for sure it can help optimise settings faster.
Finance is bullshit. Math is truth. - Harry Markopolos
 
 
  • Post #56
  • Quote
  • Aug 7, 2020 1:59pm Aug 7, 2020 1:59pm
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting BpmFx
Disliked
Just converted the ea to mt5. Here is real ticks backtest from January 2019. {image}{image} {image} {file} {file} {file} {file}
Ignored
Definitely backtesting does not count, because i am up 50% in less than 10 days of testing in my demo, meanwhile backtesting shows 60% up in more than 1 year. This is a huge difference imo,may be i am missing something for now.
Attached Image (click to enlarge)
Click to Enlarge

Name: 1.PNG
Size: 30 KB
Finance is bullshit. Math is truth. - Harry Markopolos
 
 
  • Post #57
  • Quote
  • Aug 7, 2020 2:39pm Aug 7, 2020 2:39pm
  •  BpmFx
  • | Joined Aug 2020 | Status: Member | 8 Posts
Quoting mastercool66
Disliked
{quote} ... but for sure it can help optimise settings faster.
Ignored
And this is exactly the purpose!
 
1
  • Post #58
  • Quote
  • Aug 7, 2020 2:54pm Aug 7, 2020 2:54pm
  •  BpmFx
  • | Joined Aug 2020 | Status: Member | 8 Posts
Quoting mastercool66
Disliked
{quote} Definitely backtesting does not count, because i am up 50% in less than 10 days of testing in my demo, meanwhile backtesting shows 60% up in more than 1 year. This is a huge difference imo,may be i am missing something for now. {image}
Ignored
The difference because I used fixed lots and 1000 deposit. Here is the result if I start with 200 from 6 April:
Attached Image (click to enlarge)
Click to Enlarge

Name: grafico.PNG
Size: 32 KB
Attached Image (click to enlarge)
Click to Enlarge

Name: result.PNG
Size: 38 KB
 
1
  • Post #59
  • Quote
  • Aug 7, 2020 6:14pm Aug 7, 2020 6:14pm
  •  mastercool66
  • Joined Jan 2018 | Status: i'm just a coder for fun . | 620 Posts
Quoting BpmFx
Disliked
{quote} The difference because I used fixed lots and 1000 deposit. Here is the result if I start with 200 from 6 April: {image}{image}
Ignored
From what i backtested in MT5 so far, best results are with bigger cooling time 1440 .
Next i want to check other combination of pairs too, i use GBP because of the high volatility to enter and close in profit faster.
Finance is bullshit. Math is truth. - Harry Markopolos
 
 
  • Post #60
  • Quote
  • Aug 7, 2020 9:58pm Aug 7, 2020 9:58pm
  •  cyd09
  • | Joined Mar 2014 | Status: Member | 125 Posts
i tried it just yesterday with good result, lets see next week.. mastercool66, can we have an option also to not reverse after profit? if i want to only sell USDJPY and buy GBPUSD,GBPJPY? just for testing
 
 
  • Commercial Content
  • /
  • Corti - Correlated EA
  • Reply to Thread
    • 1 2Page 3456 61
    • 1 2Page 34 61
0 traders viewing now
  • More
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022