Code for bounce off MA

 

Hi all,

I trust/hope you are safe and well during these unprecedented times?

i'm wondering if someone has code for MT4 that(?):

1. Detects a bounce of price action off an EMA or an SMA; showing the candle where price intersects, bounces or comes near the MA

Then also code that shows the candle between the two phases as price breaths phase 2 being the pull back or correction.

2. Shows the low of price action during an up swing; ie end of phase 2, and beginning of phase 1 in an up trend bull market

3. Shows the high of price action during a down swing; ie end of phase 2, and beginning of phase 1 in a down trend bear market

Happy to be pointed to resources that either have the code or enable me to create the code myself.


With best regards

Reason: