Coding paintbars

 

Hello,

Am new to FX but have been trading stocks for years. I use Stockfinder for my stocks and have a simple pullback system that I would like to have in Metatrader if someone would be so kind to code for me.

It is very simple ...

Two simple moving averages 5 and 13

The basic bar color is white

If price (close) is above the 5 then paint the bar green

If price (close) is below the 13 then paint the bar red

If price (close) is between then two averages leave white

That's it - works like a charm for stocks - hoping it will do the same for FX.

The only thing that I might have to backtest is the kind of moving averages so if I could modify them to maybe EMA or other and maybe change their numbers that could be good also (if not no probs) - anyone willing to code them for me I will happily share my backtesting results with them ...

Ash

Files:
qqqq.png  33 kb
 

Thanks, was looking for something like this for sometime now

Reason: