TradingView
Kingii91
Jan 25, 2018 11:01 AM

HEEEEELLLLPPPPP MA CROSS OVER SYSTEM 

Ethereum / DollarBitfinex

Description

Hi,

I just want a simple moving average cross over system I can backtest. I wrote the following code but it doesn't enter or exit the trade when I actually want it to, it just it a few candles after. Can someone please correct my coding for me? I'm guessing it's where I have entered my enter and exit conditions?


Comments
imsharper
The MA's you have plotted are 5/20 but the code is 9/18.
More