NexusFi: Find Your Edge


Home Menu

 





Back test line break charts


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one mrticks with 9 posts (0 thanks)
    2. looks_two Xeno with 6 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 Apig with 1 posts (3 thanks)
    1. trending_up 12,059 views
    2. thumb_up 3 thanks given
    3. group 6 followers
    1. forum 19 posts
    2. attach_file 0 attachments




 
Search this Thread

Back test line break charts

  #11 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274

Who said anything about charts? That's the thing - it depends what angle you come from. To me, strategies have nothing to do with charts, and multi time frame is a perfectly normal state of things.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
ZombieSqueeze
Platforms and Indicators
Are there any eval firms that allow you to sink to your …
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Futures True Range Report
The Elite Circle
 
  #12 (permalink)
 
mrticks's Avatar
 mrticks 
Dublin, Ireland.
 
Experience: Advanced
Platform: NinjaTrader, TOS, Multicharts, Open Source various
Trading: FDAX, cable/yen, FX, options on commodities
Posts: 67 since Jun 2009
Thanks Given: 16
Thanks Received: 10


Xeno View Post
Who said anything about charts? That's the thing - it depends what angle you come from. To me, strategies have nothing to do with charts, and multi time frame is a perfectly normal state of things.

I'm all about price.

I just had never thought of mixing Line break with Minute. It just might work! We'll see how it goes in a strat. What's the code again for adding Line Break to minute? I did it before but am on a new laptop here so don't have access while I'm away. What did you use? Post the Add period type code and I'll run it.


 
Code
                            
Add(PeriodType.Minute15);
Add(PeriodType. ???); 

Started this thread Reply With Quote
  #13 (permalink)
 Xeno 
UK
 
Experience: Intermediate
Platform: Ninja
Broker: Mirus/Zen
Trading: Futures - bonds, currencies, index
Posts: 288 since Oct 2010
Thanks Given: 70
Thanks Received: 274


Like I said, I've never used line break.

Reply With Quote
  #14 (permalink)
 eman 
Galveston ,TX
 
Experience: Intermediate
Platform: NT7
Broker: Zaner
Trading: Futures
Posts: 386 since Mar 2010
Thanks Given: 364
Thanks Received: 435


mrticks View Post
I'm all about price.

I just had never thought of mixing Line break with Minute. It just might work! We'll see how it goes in a strat. What's the code again for adding Line Break to minute? I did it before but am on a new laptop here so don't have access while I'm away. What did you use? Post the Add period type code and I'll run it.


 
Code
                            
Add(PeriodType.Minute15);
Add(PeriodType. ???); 

you may have solved this already, but LineBreak is a bar-type not a period-type. You can review the code for LineBreak in the @BarsType.cs file located in NinjaTrader 7\bin\Custom\Type

cheers,
-e

Reply With Quote
  #15 (permalink)
 
mrticks's Avatar
 mrticks 
Dublin, Ireland.
 
Experience: Advanced
Platform: NinjaTrader, TOS, Multicharts, Open Source various
Trading: FDAX, cable/yen, FX, options on commodities
Posts: 67 since Jun 2009
Thanks Given: 16
Thanks Received: 10


eman View Post
you may have solved this already, but LineBreak is a bar-type not a period-type. You can review the code for LineBreak in the @BarsType.cs file located in NinjaTrader 7\bin\Custom\Type

cheers,
-e

Thanks for the response, I don't think I ever did get to back test properly. I'll take another run at it after the weekend.


Thanks!

Started this thread Reply With Quote
  #16 (permalink)
 
Merlin997's Avatar
 Merlin997 
Prague
 
Experience: Advanced
Platform: NinjaTrader
Trading: 6E,TF, CL
Posts: 14 since May 2011
Thanks Given: 26
Thanks Received: 2

Hello MrTicks, i wonder how did you solve this problem, i have the same in my strategy, when i do backtesting with LineBreaks

thank you a lot
regards

Tomas



mrticks View Post
Thanks for the response, I don't think I ever did get to back test properly. I'll take another run at it after the weekend.


Thanks!


Reply With Quote
  #17 (permalink)
 
mrticks's Avatar
 mrticks 
Dublin, Ireland.
 
Experience: Advanced
Platform: NinjaTrader, TOS, Multicharts, Open Source various
Trading: FDAX, cable/yen, FX, options on commodities
Posts: 67 since Jun 2009
Thanks Given: 16
Thanks Received: 10

Hello Tomas,

Yes I did manage to code this properly. I can send you a strat that will back test successfully. If you PM me with an email address I will forward one on tonight.

Started this thread Reply With Quote
  #18 (permalink)
 
mrticks's Avatar
 mrticks 
Dublin, Ireland.
 
Experience: Advanced
Platform: NinjaTrader, TOS, Multicharts, Open Source various
Trading: FDAX, cable/yen, FX, options on commodities
Posts: 67 since Jun 2009
Thanks Given: 16
Thanks Received: 10

Just sent that on to you!


Merlin997 View Post
Hello MrTicks, i wonder how did you solve this problem, i have the same in my strategy, when i do backtesting with LineBreaks

thank you a lot
regards

Tomas


Started this thread Reply With Quote
  #19 (permalink)
Apig
Fort Lauderdale, Fl, United States
 
Posts: 2 since Sep 2010
Thanks Given: 0
Thanks Received: 4

I think line break charts are the best charts to use for trading but, most people do not understand them because they are in a class of different charts. U have to understand that they do many things.
1. They lie to you about the price. You will never see in a closed block the true range of the price. The same is true on Renko and other charts of this type. I assume I can say this Sam Tennis wrote a simple bar that is attached to the block that shows the range of the block. So with this addition you can see the price range and you can see a fill on that bar that you will not see on the block. The main advantage to the line break is it like PF works on price movement. That is what the game is about. It also smooths the action of the price movement. There is no fixed setting for line break charts and 2. Another mistake is using just 3 1 as the input. They got there name because someone said they should be used as a trend indicator and after the third block that is the trend. BS. Properly set up they can be successfully traded from the first block and will produce the highest return. The theory is basic to Gann and the definition of a trend. There is no need for any indicators when using line break charts. Everything you need to know is right in front of you. 3. To get the highest return you must immediately enter the trade so that for shorts you are at the top and longs you are at the bottom. When you look at a line break chart you will learn how the market trades.
The move begins with a large bar and then smaller bars. The profit is in the first bar.
Back testing is not accurate because the architecture of drawing the chart is flawed. First of all the blocks are based on the close. So there is no intra bar testing. TS for example creates a false bar until the bar closes. Until the bar is closed there is no accurate test. My friend wrote a book on the subject and got it wrong. There is almost no accurate information on line break charts that is correct and only by using them can you learn. Most of the time you will be saying why did it do that. It is worth the effort, all my trading has switched to the line break chart.

Reply With Quote
Thanked by:
  #20 (permalink)
Scuoler1
London+UK
 
Posts: 2 since Apr 2013
Thanks Given: 1
Thanks Received: 0


"TS for example creates a false bar until the bar closes. Until the bar is closed there is no accurate test."

I am new to back testing and line break and don't fully understand this. I do understand that line break bars do not necessarily include the full range of price movement.

For an automated strategy buying on the close of bars, why would the above statement be a problem? And can't you just do tests on closed bars?

Please forgive my ignorance, any help appreciated.

Reply With Quote




Last Updated on October 21, 2013


© 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