PROTECTED SOURCE SCRIPT

MA pullback

9 031
Hello traders

This is a script to detect a pullback on a all standard types of moving averages
You'll have the option to define two parameters a bit specific :

  • Pullback percentage : if you want the pullback to be defined in percentage. Example: I want to capture pullbacks 3% away from my EMA 20
  • Buffer : Secruty margin for the pullback. You might not want an exact physical touch on the pullback but to let for instance a few pips/USD margin between the price and moving average


If you'd like the pullback to be "price has to touch the moving average", please set the buffer parameter to 0

Enjoy
Dave

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.