WOW no repainting and no security() call! 100% real results!If you couldn't tell by the title, this is a joke lmao.
TV has an awful backtesting engine and I just wanted to prove this with a super simple script.
 
We buy when close > open
and sell when close < open.
 
 That's it. 
There is also some risk management and trade closing when we reach a certain drawdown, but wait! 
TradingView doesn't know what equity drawdown is because they don't use tick data or any lower timeframe data! Wowow! 
Ps - all tickdata for Forex & CFD historical data is free from Dukascopy if you want to perform your own backtesting ;)
 Dukascopy Data 
Enjoy
-DasanC
