Page 1 of 1

Centred moving average Channel Strategy

PostPosted: Sun Feb 04, 2018 6:14 am
by Apprentice
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 351 times


Re: Centred moving average Channel Strategy

PostPosted: Tue Jul 24, 2018 2:34 am
by Nather
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

Re: Centred moving average Channel Strategy

PostPosted: Sat Aug 04, 2018 8:46 am
by Apprentice
Highly adaptable Centred moving average Channel Strategy.lua added.

Re: Centred moving average Channel Strategy

PostPosted: Tue Aug 14, 2018 7:23 pm
by Nather
Thank you