Centred moving average Channel Strategy

Strategies are published here.

Moderator: admin

Centred moving average Channel Strategy

Postby Apprentice » Sun Feb 04, 2018 6:14 am

1.png

2.png

Based on the request.
viewtopic.php?f=17&t=32423&start=10

Buy condition
((open > CMAC.Bottom) and (close < CMAC.Bottom))
Sell condition
((open<CMAC.Top) and (close > CMAC.Top))

Close long positions
( symbol profit ) > var)
Close short positions
( symbol profit ) > var)


CMAC.lua is available here.
viewtopic.php?f=17&t=32423
CMA.bin is available here.
viewtopic.php?f=17&t=24476

Centred moving average Channel Strategy.lua
(28.67 KiB) Downloaded 688 times

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Centred moving average Channel Strategy

Postby Nather » Tue Jul 24, 2018 2:34 am

Hi coding guru's
is it possible to get a highly adaptable version of this? One that has buy/sell/close top/middle/bottom line with the option to enter on price touch or close past?

Thank you
Nather
 
Posts: 5
Joined: Wed Dec 28, 2016 10:34 pm

Re: Centred moving average Channel Strategy

Postby Apprentice » Sat Aug 04, 2018 8:46 am

Highly adaptable Centred moving average Channel Strategy.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Centred moving average Channel Strategy

Postby Nather » Tue Aug 14, 2018 7:23 pm

Thank you
Nather
 
Posts: 5
Joined: Wed Dec 28, 2016 10:34 pm


Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 12 guests