Write small code at tradingview.com pine script editor -- 2
Budget: $10 – $20 USD
I need to backtest strategy on tradingview, you need to write simple trading code for tradingview pine script editor
Strategy is very simple:
BUY When MACD 4C indicator turns form red color to dark red OR color from dark green turns to green color, then purchase at candle close price.
SELL when color of MACD 4C turns from dark red to red color OR when color turns from green to dark green. sell at candle close price.
Also need to set up stop loss with 1% from purchase price
Things which I should be able to change myself: ticker symbol, timeframe, stoploss, candle type (I need CANDLES or HEIKIN ASHI candles)
Strategy is very simple:
BUY When MACD 4C indicator turns form red color to dark red OR color from dark green turns to green color, then purchase at candle close price.
SELL when color of MACD 4C turns from dark red to red color OR when color turns from green to dark green. sell at candle close price.
Also need to set up stop loss with 1% from purchase price
Things which I should be able to change myself: ticker symbol, timeframe, stoploss, candle type (I need CANDLES or HEIKIN ASHI candles)