NexusFi: Find Your Edge


Home Menu

 





Renko Strategy Easylanguage code share


Discussion in TradeStation

Updated
      Top Posters
    1. looks_one vmodus with 4 posts (5 thanks)
    2. looks_two jpache with 4 posts (0 thanks)
    3. looks_3 jkepha with 3 posts (2 thanks)
    4. looks_4 ABCTG with 1 posts (0 thanks)
    1. trending_up 5,194 views
    2. thumb_up 8 thanks given
    3. group 6 followers
    1. forum 12 posts
    2. attach_file 0 attachments




 
Search this Thread

Renko Strategy Easylanguage code share

  #1 (permalink)
jkepha
San Antonio, TX
 
Posts: 31 since Apr 2020
Thanks Given: 10
Thanks Received: 6

Hi,

I am trying to develop a simple Renko trading strat on TradeStation. Has this code already been shared, or would someone mind sharing it with me. : ) Hate to ask but I'm chasing my tail a little bit trying to get it done. As you can see I'm a beginner with EasyLanguage.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,629

jkepha,

are you looking for ways to apply a strategy to Renko charts directly or do you intend to compute a Renko logic within your code?

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
jkepha
San Antonio, TX
 
Posts: 31 since Apr 2020
Thanks Given: 10
Thanks Received: 6


Hi ABCTG,

I'm not completely sure. I spoke to a developer and they mentioned it's better to create the Renko bars by creating a range chart with 1 tick bars. So I might use that. Either one to be honest.

Thanks,
Jkepha

Reply With Quote
Thanked by:
  #4 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853

I know this response is a little lates, but did you ever get a good answer on this? I have a little experience with Renko and strategies, and can provide some best practices.

~vmodus

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
jkepha
San Antonio, TX
 
Posts: 31 since Apr 2020
Thanks Given: 10
Thanks Received: 6

Hi,

Yep. I figured it out. Currently running strategy. Backtest was phenomenal. We'll see how it trades live. I welcome any advice on trading with Renkos!

Thanks,
Ryan


Reply With Quote
Thanked by:
  #6 (permalink)
jpache
Bogota
 
Posts: 4 since Jul 2020
Thanks Given: 1
Thanks Received: 0


jkepha View Post
Hi,

I am trying to develop a simple Renko trading strat on TradeStation. Has this code already been shared, or would someone mind sharing it with me. : ) Hate to ask but I'm chasing my tail a little bit trying to get it done. As you can see I'm a beginner with EasyLanguage.


jkepha View Post
Hi,

Yep. I figured it out. Currently running strategy. Backtest was phenomenal. We'll see how it trades live. I welcome any advice on trading with Renkos!

Thanks,
Ryan


Hi, im trying to build in Renko too, i just read you figured it out. Can you help me?

Reply With Quote
  #7 (permalink)
 loantelligence 
Syracuse, NY
 
Experience: Intermediate
Platform: Ninja Trader
Broker: Mirus Futures/Zen-Fire
Trading: NQ
Posts: 218 since Jan 2011
Thanks Given: 31
Thanks Received: 189

renkos give great backtest....but thats not the way they work in realtime.....ex...if your bar size is 5 set slippage to 5...probably 5.4..to get a true or somewhat true backtest....as to the way its going to work realtime....the problem with renkos...is that ...if the price jumps 2-3 ticks the renko bars are created....but the price was never there....so when your backtest looks at the bars....it pick one of those bars that the price was never at......another problem.....why backtesting renkos gives you bad information....but do some testing...but the slippage equal to the bar size is very important....now your backtest may not look as good.....

Reply With Quote
Thanked by:
  #8 (permalink)
jpache
Bogota
 
Posts: 4 since Jul 2020
Thanks Given: 1
Thanks Received: 0


jpache View Post
Hi, im trying to build in Renko too, i just read you figured it out. Can you help me?

Can you help me? With a simple order in Easy Language??

Reply With Quote
  #9 (permalink)
jpache
Bogota
 
Posts: 4 since Jul 2020
Thanks Given: 1
Thanks Received: 0


jpache View Post
Hi, im trying to build in Renko too, i just read you figured it out. Can you help me?


jkepha View Post
Hi,

Yep. I figured it out. Currently running strategy. Backtest was phenomenal. We'll see how it trades live. I welcome any advice on trading with Renkos!

Thanks,
Ryan


Can you help me with easy language and the use of renko?

Reply With Quote
  #10 (permalink)
 
vmodus's Avatar
 vmodus 
Somewhere, Delaware, USA
 
Experience: Intermediate
Platform: MultiCharts
Broker: Barchart.com
Trading: Everything, it all tastes like chicken
Posts: 1,271 since Feb 2017
Thanks Given: 2,958
Thanks Received: 2,853



loantelligence View Post
renkos give great backtest....but thats not the way they work in realtime.....ex...if your bar size is 5 set slippage to 5...probably 5.4..to get a true or somewhat true backtest....as to the way its going to work realtime....the problem with renkos...is that ...if the price jumps 2-3 ticks the renko bars are created....but the price was never there....so when your backtest looks at the bars....it pick one of those bars that the price was never at......another problem.....why backtesting renkos gives you bad information....but do some testing...but the slippage equal to the bar size is very important....now your backtest may not look as good.....

I concur. TradeStation does not offer a Renko bar with wicks, as other charting software does (MultiCharts and Sierra Charts, both of which I use). If you take the same strategy and put it on a chart in MultiCharts, but with wicks turned on and phantom bars turned off, you will get a much better picture of how well your strategy backtests.

Also watch out for those phantom bars. If a price gaps up (on a time based chart), that will not be reflected in TradeStation. There are artificial bars that TradeStation (the phantom bars) uses to fill in the gaps.

One additional note: tick data (used in Renko chart building) is only available back 6 months with TradeStation. That is typically too short of a time to adequately backtest a strategy, regardless of the number of trades generated. This is what I have learned in my trading, but also comes from Kevin Davey (trader, writer and strategy writing teacher... a/k/a @kevinkdog around here).

I strongly suggest running your test in simulation first and comparing your Strategy Report (what you expect) against the Trade Manager Analysis. If they are not matching within at least 90%, then you may have problems.

Renko backtests look great at first blush, but they rarely match reality because of what @loantelligence describes. I don't want to rain on your parade, but you will save a lot of money by verifying that your orders match in sim against your strategy report, at the very least, before trying to go live.

We do trade a couple of strategies live on Renko charts, but getting to that point was not pretty.

~vmodus

Enjoy everything!
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:




Last Updated on July 29, 2020


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts