RicardoSantos

[STRATEGY][RS]Renko V0

645 7 38
request for mm.
Remove from Favorite Scripts Add to Favorite Scripts
//@version=2
strategy(title='[STRATEGY][RS]Renko V0', shorttitle='S', overlay=true, pyramiding=0, initial_capital=100000, currency=currency.USD)
trade_size = 10000

ro = open
rc = close
buy_entry = rc[4] < ro[4] and rc[3] > ro[3] and rc[2] > ro[2] and rc[1] > ro[1] and rc > ro
sel_entry = rc[4] > ro[4] and rc[3] < ro[3] and rc[2] < ro[2] and rc[1] < ro[1] and rc < ro

strategy.entry('buy', long=strategy.long, qty=trade_size, comment='buy', when=buy_entry)
strategy.entry('sell', long=strategy.short, qty=trade_size, comment='sell', when=sel_entry)
Can I do ? buy_entry = rc>ro
Reply
you can, strategy was written per user request tho.
Reply
MakisMooz MakisMooz
my modification
[STRATEGY] EURUSD 5 RENKO [MakisMooz]
Reply
Alphaoptions MakisMooz
Makis - good mod. Did you run a profitability comparison to compare with the above?
Reply
MakisMooz Alphaoptions
@Alphaoptions Inside script there are 3 scenarios. 2 mine and 1 of Ricardo. Click image above to go to link and get the code.
Open code and comment / uncomment to run other scenario. I am working to add more scenarios to test. If you need help or want to add your scenario snd msg.
Reply
MakisMooz Alphaoptions
3 Scenarios Tested
Net Profit
1. $1651.00
2. $793.00
3. $435.50
Reply
Alphaoptions MakisMooz
Excellent - thank you. will study when have the time it deserves. Great job. Thanks for sharing.
Reply
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia
Malaysia
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing Priority Support Ideas Published Followers Following Private Messages Chat Sign Out