TradingView
heniu_1
29 de Feb. de 2020 13:40
WMA + MACD strategy with trailing stop
GPW:PKN
1D
PKNORLEN
GPW
Descripción
⋅
29 de Feb. de 2020 13:40
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.
Moving Average Convergence / Divergence (MACD)
Weighted Moving Average (WMA)
histogram
heniu_1
trailingstop
Comentarios
victorurena55
⋅
9 de Jun. de 2023 23:09
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!!!
Más