NexusFi: Find Your Edge


Home Menu

 





Difference between IntraBarOrderGeneration and Bar Magnifier


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ccfeldt with 5 posts (0 thanks)
    2. looks_two Big Mike with 2 posts (1 thanks)
    3. looks_3 bibulous with 2 posts (0 thanks)
    4. looks_4 arjfca with 2 posts (0 thanks)
    1. trending_up 10,074 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 13 posts
    2. attach_file 0 attachments




 
Search this Thread

Difference between IntraBarOrderGeneration and Bar Magnifier

(login for full post details)
  #1 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Hello

With Multicharts, IntraBarGeneration = true & Bar Magnifier = 1 pip seem to do the same job in backtesting, to enhance the precision of a backtest.

Are they the same? I may have a conflict when both are used in a signal.

When or how should I use then ?

Martin

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Looking for an MQL4 MetaTrader programmer/coder
The Elite Circle
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
ZombieSqueeze
Platforms and Indicators
Futures Close-Out Policy
Commodities
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
33 thanks
Daytrading ES & NQ
32 thanks
Battlestations: Show us your trading desks!
30 thanks
Spoo-nalysis ES e-mini futures S&P 500
28 thanks
Retail Trading As An Industry
25 thanks

(login for full post details)
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,248 since Jun 2009
Thanks Given: 33,111
Thanks Received: 101,368



arjfca View Post
Hello

With Multicharts, IntraBarGeneration = true & Bar Magnifier = 1 pip seem to do the same job in backtesting, to enhance the precision of a backtest.

Are they the same? I may have a conflict when both are used in a signal.

When or how should I use then ?

Martin


Bar Magnifier will let you use something like a minute or day chart and then it will behind the scenes "magnify" that bar using tick data so you can accurately determine what happened inside of 1 bar when needed. It does this so it knows the order of the OHLC. Without it, you can't determine the order of the OHLC (think about it: was the high made before or after the low, etc) which is obviously very important for profit targets and stop losses.

IOG lets you send signals intrabar, so instead of on bar close to do some action, you can do it in the middle of a bar. If you have a 30 minute bar and only 1 minute into the bar your <xyz> crossover occurs or whatever, it can send the buy signal right then instead of waiting for the 30 minute bar to close.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
The following user says Thank You to Big Mike for this post:
(login for full post details)
  #4 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91


Quoting 
Bar Magnifier will let you use something like a minute or day chart and then it will behind the scenes "magnify" that bar using tick data so you can accurately determine what happened inside of 1 bar when needed. It does this so it knows the order of the OHLC. Without it, you can't determine the order of the OHLC (think about it: was the high made before or after the low, etc) which is obviously very important for profit targets and stop losses.

IOG lets you send signals intrabar, so instead of on bar close to do some action, you can do it in the middle of a bar. If you have a 30 minute bar and only 1 minute into the bar your <xyz> crossover occurs or whatever, it can send the buy signal right then instead of waiting for the 30 minute bar to close.


Thanks Mike
If I understood well, If I use a Stop entry, price as to cross over my target to issu a market order. So in that case, I should use IOG = true to make sure that the entry will be done when the price was reached, not after the ending of the bar .

Martin

Started this thread Reply With Quote
(login for full post details)
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Posts: 50,248 since Jun 2009
Thanks Given: 33,111
Thanks Received: 101,368

If you know the price a bar or more earlier you can set a limit order ahead of time. Otherwise, yes you would need IOG to do it intrabar.

Sent via tapatalk on my DROID X

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor


For the best trading education, watch our webinars
Searching for trading reviews? Review this list


Lifetime Elite Membership: Sign-up for only $149 USD
Receive exclusive offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
(login for full post details)
  #6 (permalink)
 ccfeldt 
Switzerland
 
Experience: Beginner
Platform: MultiCharts, TradeInterceptor
Trading: Forex
Posts: 13 since Mar 2011
Thanks Given: 0
Thanks Received: 1

Hope this isn't something fundamental that I've overlooked, but I haven't been able to figure out how to open/close a position intrabar?
The Easy/Power-language manual only show me the "on close/on next bar".

Many thanks,
cc


found some more information, this is from traderslaboratory:
"With

[IntrabarOrderGeneration = True]
in a strategy and no conflicting barstatus statements then
buy next bar market;
means immediately (next tick) (for intrabar a tick is a trade)"

makes sense, but I can't seem to make it work. What, for example if I want to trade on the daily and go long when price crosses above EMA 100?

"High cross above", or "Last cross above"?

Reply With Quote
(login for full post details)
  #7 (permalink)
 bibulous 
Germany
 
Experience: Beginner
Platform: MultiCharts, NinjaTrader
Broker: IB/IQFeed
Trading: NQ, YM
Posts: 81 since Jun 2009
Thanks Given: 114
Thanks Received: 63


ccfeldt View Post
Hope this isn't something fundamental that I've overlooked, but I haven't been able to figure out how to open/close a position intrabar?
The Easy/Power-language manual only show me the "on close/on next bar".

Many thanks,
cc

With IntraBarOrderGeneration "on close / on next bar" is actually the next tick...

Reply With Quote
(login for full post details)
  #8 (permalink)
 ccfeldt 
Switzerland
 
Experience: Beginner
Platform: MultiCharts, TradeInterceptor
Trading: Forex
Posts: 13 since Mar 2011
Thanks Given: 0
Thanks Received: 1


bibulous View Post
With IntraBarOrderGeneration "on close / on next bar" is actually the next tick...

thanks bibulous, I was editing my post while you were writing your answer. any idea about the problem above.
I can compare high, but I only know high when the bar closes, and using last seems to give me some unexpected results.

many thanks.

Reply With Quote
(login for full post details)
  #9 (permalink)
 bibulous 
Germany
 
Experience: Beginner
Platform: MultiCharts, NinjaTrader
Broker: IB/IQFeed
Trading: NQ, YM
Posts: 81 since Jun 2009
Thanks Given: 114
Thanks Received: 63


ccfeldt View Post
thanks bibulous, I was editing my post while you were writing your answer. any idea about the problem above.
I can compare high, but I only know high when the bar closes, and using last seems to give me some unexpected results.

many thanks.

hmmm.. from the top of my head (with IOG=True):
vars: intrabarpersist myMA(0);

if BarStatus = 2 then begin
myMA = average(C, 200);
end;

if C > myMA then buy ("LONG") next bar at market;

Or you could do it like Mike said even without IOG and using limit orders instead..

Reply With Quote
(login for full post details)
  #10 (permalink)
 ccfeldt 
Switzerland
 
Experience: Beginner
Platform: MultiCharts, TradeInterceptor
Trading: Forex
Posts: 13 since Mar 2011
Thanks Given: 0
Thanks Received: 1



bibulous View Post
hmmm.. from the top of my head (with IOG=True):
vars: intrabarpersist myMA(0);

if BarStatus = 2 then begin
myMA = average(C, 200);
end;

if C > myMA then buy ("LONG") next bar at market;

Or you could do it like Mike said even without IOG and using limit orders instead..

OK, I still have a few issues to iron out, but you've definitely set me off in the right direction.

Big thanks for now.

Reply With Quote





Last Updated on March 23, 2011


© 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