NexusFi: Find Your Edge


Home Menu

 





Question about IOG in Multicharts


Discussion in MultiCharts

Updated
    1. trending_up 1,361 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread

Question about IOG in Multicharts

  #1 (permalink)
auato
Bradenton
 
Posts: 30 since May 2016
Thanks Given: 6
Thanks Received: 4

Hello,

I have a question about Intrabar Order Generation feature in Multicharts and reading the Wiki I couldn't find a clear answer.

If I enable IOG in a script running on a hourly chart when I use reserved words Open, High, Low, Close are they referring to the tick or to the hourly bar on chart?

i.e. if in the conditions statement to trigger an order I have:


 
Code
IF H[0]>H[1] and (O-C)/L<H then buy next bar at market

in the case above I am confident I am referring to the next tick for the "buy next bar" statement but for the conditions before the order, am I referring to the hourly bars that I can also see on the chart or to the tick bars inside the actual hourly bar?


Thank you
auato

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Trade idea based off three indicators.
Traders Hideout
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
32 thanks
Just another trading journal: PA, Wyckoff & Trends
26 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
23 thanks
GFIs1 1 DAX trade per day journal
18 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,627

auato,

I would suggest to use print statements to check the values in case you are in doubt.
As your code is evaluated with every tick when intrabar order generation is enabled the reserved words, for example High, will return their value at the moment of the code execution. When you apply your code to a 1 hour bar, High will return the one hour bar's high at the moment of the code computation. High[1] will return the value of the high for the previous bar and so on.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
  #3 (permalink)
 GuppyDRV 
Seattle
 
Experience: Intermediate
Platform: MultiCharts 10
Broker: InteractiveBrokers, IQFeed
Trading: ES
Posts: 58 since Nov 2015
Thanks Given: 19
Thanks Received: 7


Just trying to understand this point. Would initializing as intra bar persist or not make a difference. Could a data2 vs. data1 which is not IBP change the outcome or will IOG force everything to be on each incoming tick.

GuppyDRV

Reply With Quote
  #4 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,435 since Apr 2013
Thanks Given: 482
Thanks Received: 1,627

GuppyDRV,

I am not sure if I understand what you are saying correctly, but it sounds like you are mixing reserved words and variables (where intrabarpersist might be used).

When it comes to datastreams other than Data1 you are dealing with a few limitations (in terms of IOG, bar magnifier etc.) that are described here for example: https://www.multicharts.com/pm/public/multicharts/issues/MC-1568

Regards,

ABCTG


GuppyDRV View Post
Just trying to understand this point. Would initializing as intra bar persist or not make a difference. Could a data2 vs. data1 which is not IBP change the outcome or will IOG force everything to be on each incoming tick.

GuppyDRV


Follow me on Twitter Reply With Quote




Last Updated on April 29, 2017


© 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