RicardoSantos

[STRATEGY][RS]Renko V0

455 7 22
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)
MakisMooz
a year ago
Can I do ? buy_entry = rc>ro
Reply
RicardoSantos PRO MakisMooz
a year ago
you can, strategy was written per user request tho.
Reply
MakisMooz MakisMooz
a year ago
my modification
[STRATEGY] EURUSD 5 RENKO [MakisMooz]
Reply
Alphaoptions MakisMooz
a year ago
Makis - good mod. Did you run a profitability comparison to compare with the above?
Reply
MakisMooz Alphaoptions
a year ago
@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
a year ago
3 Scenarios Tested
Net Profit
1. $1651.00
2. $793.00
3. $435.50
Reply
Alphaoptions MakisMooz
a year ago
Excellent - thank you. will study when have the time it deserves. Great job. Thanks for sharing.
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener 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
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out