TradingView
BlockchainSpecialists
27 Oca 2020 09:47

Forex Daily Trading - NNFX Style 

NZD/USDOANDA

Açıklama

Here is my implementation of the No Nonsense Forex way of trading.

I've tried to apply most of VP's rules to the best of my coding abilities. As of now, with default settings, the strategy does not perform exceptionally well - however I'm pretty confident there is a combination of settings that will make it profitable across all pairs, and maybe even commodities.

If anyone can find some good performing settings for this strategy please let me know and I'll provide the full logic and all indicators within the strategy. Also, if you have any suggestions of any indicators you feel could improve this strategy let me know and I'll update.

If anything doesn't make sense/doesn't work, or if you just need some more information please just let me know. Enjoy!

Sürüm Notları

Updated to fix bug in code regarding trade exits. Also changed default settings - will continue to update with new and improved default settings as time goes on.

Sürüm Notları

Updated for better default settings.

Sürüm Notları

Updated to fix trade quantity issue.

Sürüm Notları

Updated to improve default settings.

Sürüm Notları

Updated to replace 'Confirmation 1' Indicator - also improved default settings.

Sürüm Notları

Updated to add optional 'ATR Upper/Lower Deviation' to filter out trades in time of too high/low volatility.

Sürüm Notları

Updated to fix bug when using strategy on lower time frames.

Sürüm Notları

Updated to make compounding gains optional.

Sürüm Notları

Updated to try fix plotting issues.

Sürüm Notları

Updated to add new features such as leverage. Changed default settings to improve performance.

Sürüm Notları

Updated to add optional 'Alter Trade Size During Bad Run' feature. Calculated using either Loss Percentage or Net Profit, allows the user to either decrease or increase trade size while fulfilling user set 'Bad Run' criteria. Also cleaned up code.

Sürüm Notları

Updated to fix bugs and simplify code. Optional filtering of trades during bad run of trades. Also improved plotting.

Sürüm Notları

Updated to add spread and commission options, as well as other minor improvements.

Sürüm Notları

Updated to simplify trade management options in UI.
Yorumlar
avalic
Hey there,

I think this is the most profound code I'have seen so far. I managed to get some good results on crypto trading, but I lack some of the features of your code. Would you mind provide it to me, so I could tweak some settings and add some indicators that I use in crypto? Cheers.
UnknownUnicorn5243583
I'm having the same issues as BlockchainSpecialists. The ATR, volatility, and C1/C2 cause the chart to go flat and zoomed out
BlockchainSpecialists
@JBurk4417, Hi, I believe the newest update I've just released should fix this issue. Please try and let me know!
trevkillax
I don't know why it does this, but when first applying the strategy to a chart, the user will just get a flatline across the chart. Making the chart unreadable. Maybe something you want to look at as a heads up
BlockchainSpecialists
@trevkillax, Hi thanks for the heads up. Could you let me know what chart this happens on? Including time frame. I'll see what I can do! Thanks.
trevkillax
@BlockchainSpecialists, It was on the all timeframes. The problem occurs when ATR, Baseline, c1, c2, or volatility are check-marked under "style". If you change default to make these unchecked at start up, should appear as intended every time
trevkillax
@trevkillax, My bad, baseline is fine. But the other pieces do cause the problem
BlockchainSpecialists
@trevkillax, Thanks for giving some details. I've updated the script and believe I've fixed the plotting issue; well it seems to work on my charts anyway! Please let me know if the issue is fixed.
Imradls
@trevkillax, Hi there, I think if you right-click on the scale and scale price only this may fix your issue.
BlockchainSpecialists
@Imradls, A simple yet working solution. Thanks for this!
Daha Fazla