How to code for MA intersections


Category:
0
0

Is there a code that exist for a single to be produced for the following 8ema, 21ema and 50sma intersecting. Please see picture as an example.

Attachments:
Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on December 22, 2021 11:28 am
82 views
0
Private answer

Sorry for the late response. There was a technical issue with the website which was preventing notifications when new posts were added to the forum.

This may seems like a simple request. However the code required to complete this is too complex for the free solutions I provide here. Your specifications will need to include a tolerance level which is used determine when all three moving averages are close enough to be considered "intersecting".

When you examine these moving averages with sufficient detail you will find they do not have the same exact value. There is a small difference between the value of each and any solution you attempt to build will need to account for just how close is close enough.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on December 28, 2021 6:25 pm