FXCM Forex Trading

Simultaneous MACD Histogram Strategy

Strategies are published here.

Moderator: admin

Simultaneous MACD Histogram Strategy

Postby Apprentice » Wed Jul 26, 2017 7:22 am

1.png

2.png

Based on the request.
viewtopic.php?f=17&t=229&start=30
Simultaneous MACD Histogram Strategy.lua
(23.6 KiB) Downloaded 42 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17153
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Simultaneous MACD Histogram Strategy

Postby conjure » Wed Jul 26, 2017 9:33 am

Thank you for very much...

I did tried it but i found a bug i think.

while on my settings i have..
Capture.JPG
(11.85 KiB) Not downloaded yet


it keeps opening second position
Capture2.JPG
(12.32 KiB) Not downloaded yet


any ideas why?

here are my settings
Capture3.JPG
conjure
 
Posts: 33
Joined: Sat Jul 22, 2017 7:27 am

Re: Simultaneous MACD Histogram Strategy

Postby Apprentice » Wed Jul 26, 2017 9:56 am

Set "Use Position Cap" to yes.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17153
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Simultaneous MACD Histogram Strategy

Postby conjure » Wed Jul 26, 2017 2:32 pm

That worked.Really appreciated.
Why when one position is closing it does not open the opposite one?
do i need to change something on my settings?
Thank you again
conjure
 
Posts: 33
Joined: Sat Jul 22, 2017 7:27 am

Re: Simultaneous MACD Histogram Strategy

Postby Apprentice » Thu Jul 27, 2017 6:43 am

set "Close On Opposite" to yes.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17153
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Simultaneous MACD Histogram Strategy

Postby conjure » Mon Aug 07, 2017 2:37 pm

Is it possible to a parameter
if profit of Day is > 0 then don't play again until next day?
conjure
 
Posts: 33
Joined: Sat Jul 22, 2017 7:27 am

Re: Simultaneous MACD Histogram Strategy

Postby Apprentice » Mon Aug 07, 2017 3:41 pm

Your request is added to the development list, Under Id Number 3840
If someone is interested to do this task, please contact me.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17153
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Simultaneous MACD Histogram Strategy

Postby Apprentice » Fri Aug 18, 2017 3:09 am

Try it now.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17153
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Simultaneous MACD Histogram Strategy

Postby conjure » Fri Aug 18, 2017 11:03 am

Thank you :)
conjure
 
Posts: 33
Joined: Sat Jul 22, 2017 7:27 am


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 5 guests

cron