Strategy Alligator MACD

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

Strategy Alligator MACD

Postby Utawafr » Thu Feb 15, 2018 6:40 am

Hello,
I would like to code a strategy with the following indicators:
- Alligator 13 (8), 5 (8), 5 (3) SMMA
- Alligator 65 (8), 40 (5), 25 (3) SMMA
- Awesome Oscillator AO
- MACD

Purchase order when the following 3 conditions are met:
Jaw of Alligator 13 (8), 5 (8), 5 (3)> Jaw of Alligator 65 (8), 40 (5), 25 (3) SMMA
MACD (red line)> Signal (Blue line)
AO in green bar AND if 2 green bars in front (possibility of modifying this condition)

Stop: when one of these conditions ceases

Sales order when the following 3 conditions are met:
Jaw of Alligator 13 (8), 5 (8), 5 (3) <Jaw of Alligator 65 (8), 40 (5), 25 (3) SMMA
MACD (red line) <Signal (Blue line)
AO in red bar AND if 2 red bars in front (possibility of modifying this condition)

Stop: when one of these conditions ceases

thank you in advance
Utawafr
 
Posts: 15
Joined: Thu Jun 02, 2016 8:31 am

Re: Strategy Alligator MACD

Postby Apprentice » Fri Feb 16, 2018 10:31 am

Try this version.
viewtopic.php?f=31&t=65743&p=117784#p117784

Note, in Jaw Comparison, I compare the last two values of Jaw line.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Indicator and Signal Requests

Who is online

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