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 44 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 18706
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Return to Custom Strategies

Who is online

Users browsing this forum: Bing [Bot] and 2 guests