This revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
*** USE AT YOUR OWN RISK ***
JayRogers : "There are drawing/painting issues in pinescript when working across resolutions/timeframes that I simply cannot fix here.. I will not be putting any...
Generates buy or sell signal if monthly candle closes above or below the signal MA.
Long positions only.
-Change timeframe MA
-Change period MA
-Use SMA or EMA
-Use another ticker as signal
-Select time period for backtesting
This script is not necessarily written to maximize profits, but to minimize losses.
Although it can outperform 'Buy &...
it's a repainting script cheating on tester, on backtesting %100 correct but on forward testing it will only work % 15 correct and %85 wrong. I did another script showing real forward testing results of this script.