TradingView
heniu_1
2020年2月29日午後1時40分

WMA + MACD strategy with trailing stop 

PKNORLENGPW

詳細

Hi!

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 0.

Position should be automaticly closed when price hits stoploss level.

One transaction should be max 20% of our capital and stoploss is set 3% lower than last closing price.
コメント
victorurena55
hola!, podrias modificar par que el indicador de compra cuando se junten estos 2 parametros, se suba en la wma 21 y el macd de compra la señal? gracias!!!
詳細