moving average strategy and macd zero lag

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

moving average strategy and macd zero lag

Postby PAULUC02 » Tue May 26, 2020 9:52 am

hello apprentice could you write a new strategy with a moving average 50 periods and a macd 0 lag.
Condition for buy:
- the price must be above the moving average 50 and the exponential moving averages 12 and 26 intersect under the signal line 0. (see image buy).
Condition for sell:
-the price must be below the moving average 50 and the exponential moving averages 12 and 26 intersect above the signal line 0. (see sell image).
I wish I could choose
- the number of lots
-the limit
-the stop or stop follower fixed or dynamic
-the type of moving average (mva, ema ..) as well as the period.
Thank you for your great work and your speed of response.
Attachments
Annotation 2020-05-26 140406 strategie MA&MACD 0 LAG BUY.jpg
Annotation 2020-05-26 140406 strategie MA&MACD 0 LAG SELL.jpg
MACD_Zero_Lag.lua
(14.64 KiB) Downloaded 226 times
PAULUC02
 
Posts: 33
Joined: Fri May 22, 2020 8:22 am

Re: moving average strategy and macd zero lag

Postby Apprentice » Wed May 27, 2020 5:17 am

Your request is added to the development list.
Development reference 1374.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: moving average strategy and macd zero lag

Postby PAULUC02 » Mon Jun 01, 2020 6:19 am

Hello apprentice
this strategy is not as i ask.
The condition for a purchase:
- prices must be above the moving average 50
-the macd crosses upwards under line 0.
condition for a sale:
- prices must be below the moving average 50
-macd crosses down above line 0.
thank you.
Attachments
Annotation 2020-05-28 155424.jpg
Annotation 2020-05-28 161943.jpg
PAULUC02
 
Posts: 33
Joined: Fri May 22, 2020 8:22 am


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 10 guests