By request, this script is a "strategy" version of my "Traders Dynamic Index Indicator Alert" script, made available for backtesting to help find optimal trade settings for a particular asset.
@azizgokbas, Looking at the script it appears they are the same, so a bit of duplication sorry.
azizgokbas
⋅
@JustUncleL, thanks Uncle! I have one more question.
For this line
long = (not umacd or macdH == color.green) and mab > mbb and mab < rsiOBL and
mab > rsiOSL and srcHigh > smmaH and srcClose > srcOpen ?
mbb > mid ? 1 : mab > mid and mbb < mid ? 2 : mab < mid and mbb < mid ? 3 : 0 : 0
I want to use strength 3, so that's mean mib doesn't matter for me right? or i need to calculate positions of mab and mbb to the mid?
I'm trying to write this code in metastock language but i'm not that good :)
420snoop
⋅
thanks, uncle
you are really an inspiration to the Tradingview Coding community <3
Mr-Trade_
⋅
The historical performance is a little misleading since the strategy triggers a long order at "x" price, but then when you look back it appears all the way down at the beginning of the bar, the same with sell orders appearing on top when in reality triggered way below, so the calculations are based on the wrong data, anyway to fix this? Thanks
fitnessjobspune
⋅
Hello everyone and Uncle Thanks a lot for the indicator.. After plotting i am not getting the long short alert on the chart.. Do i have to do any setting for it.. Will anybody help me out for this... Thanks
I'm testing alerts, when I set tradeType to Long, I get notified for entry, close of position, but for Shorts as well. Any advise how to separate those in different alerts?
Thanks again, good work.
Abed430
⋅
thanks
dpiriaei
⋅
thanks Unclel, is it ok to trade only with the long and sell appearing in chart by this scipt?
HIGH>PAC upper , Candle High>PAC High