TradingView
heniu_1
2020년 2월 29일 오후 1시 40분
WMA + MACD strategy with trailing stop
GPW:PKN
PKNORLEN
GPW
설명
⋅
2020년 2월 29일 오후 1시 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
코멘트
victorurena55
⋅
2023년 6월 9일 오후 11시 9분
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!!!
더보기