This gives to you buy-sell signal with MACD's histogram trends.
Use "Fast and Slow length" and "Trend of Histogram Number" inputs to take less or more signal.
"Trend of Histogram Number" : This means how many histogram bars the trend continues before trading.
That's my first strategy. I already learn pine, so i will work on it more. Now i search how to make trailing stop working.
"WMA + MACD strategy with traiing stop" is very simple strategy which is designated for stocks market. It is created only to take long positions.
Buy signal is when WMA(120) is below price and macd(10,20,10) histogram is higher than...