Hi all, Can somebody help me out? I want to backtest the following on a 4 hour eur/usd chart. Can somebody send me the code for this? If the last bar ends in green (rises), I want to open a long trade. If the last bar ends in red (falls), I want to open a short trade. Thanks in advance, Pieter