NexusFi: Find Your Edge


Home Menu

 





Multiple dataseries intrabarpersist ohlc


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one Big Mike with 8 posts (1 thanks)
    2. looks_two Jura with 2 posts (0 thanks)
    3. looks_3 diverdan with 2 posts (1 thanks)
    4. looks_4 atsui with 2 posts (0 thanks)
    1. trending_up 7,770 views
    2. thumb_up 2 thanks given
    3. group 6 followers
    1. forum 17 posts
    2. attach_file 3 attachments




 
Search this Thread

Multiple dataseries intrabarpersist ohlc

  #11 (permalink)
atsui
Hong Kong
 
Posts: 3 since Aug 2011
Thanks Given: 0
Thanks Received: 1

My understanding is that calculations for main instrument is 4 times within a bar under intrabarpersist but only once for secondary instrument. Bar magnifier increases the calculation frequency for the main instrument but also only once for secondary instruments. This issue is actually quite serious for strategies that uses multiple data series and IOG

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
ZombieSqueeze
Platforms and Indicators
Better Renko Gaps
The Elite Circle
Cheap historycal L1 data for stocks
Stocks and ETFs
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
70 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Bigger Wins or Fewer Losses?
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
The Program
20 thanks
  #12 (permalink)
nismo
Australia
 
Posts: 32 since Dec 2010
Thanks Given: 7
Thanks Received: 3

Hi Mike,

I'm experiencing issues using multiple data series also.

All I've done is add a simple line that says

 
Code
print("order executed");
after my buy and what you will notice is that instead of printing that once per trade it prints it many times!

I think Multicharts need to explain how multiple data series works? Anyone got any information on this?

Cheers,

Reply With Quote
  #13 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,460 since Jun 2009
Thanks Given: 33,234
Thanks Received: 101,655


I asked @MultiCharts to take a look at this thread, we'll see what they say.

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
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving 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 Started this thread Reply With Quote
  #14 (permalink)
marrew
amsterdam, the netherlands
 
Posts: 1 since Sep 2011
Thanks Given: 0
Thanks Received: 0

Hi mike,

i think i just entered into the exact same issue. Do you already have found a solution to your original problem?

Reply With Quote
  #15 (permalink)
 
Jura's Avatar
 Jura   is a Vendor
 
Posts: 775 since Apr 2010
Thanks Given: 2,352
Thanks Received: 690


marrew View Post
Hi mike,

i think i just entered into the exact same issue. Do you already have found a solution to your original problem?

I'm (hopefully) somewhat smarter now then when I read this thread for the first time, but I still don't get the full grasp of what the issue now is.

Is the problem that (for example) during 09:00 - 10:00 hour the referenced data series 2 uses the data from 08:00 - 09:00 hour? (see screenshot) If that's the issue, why not use only data 1, collect the data in a variable, and reset this one after x-minutes? I guess I'm missing the point here.

Regards,

Attached Thumbnails
Click image for larger version

Name:	referencingData2.PNG
Views:	168
Size:	5.5 KB
ID:	54173  
Reply With Quote
  #16 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,460 since Jun 2009
Thanks Given: 33,234
Thanks Received: 101,655

No I never solved it.

The main reason for this method is to be able to use exotic bars, like Renko bars, for signal generation. You can't use data1 for that, because data1 is the execution series and will give you incorrect fills for exotic bars.

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
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving 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 Started this thread Reply With Quote
  #17 (permalink)
rjelles
Calgary
 
Posts: 1 since Jul 2010
Thanks Given: 0
Thanks Received: 0

This may help - if you are declaring several intrabarpersist vars in one statement, you need to include the "intrabarpersist" modifier in front of each var, otherwise it will be treated as a normal var.

In this example:
vars:
intrabarpersist a(0), b(0);

"b" will not be an intrabar. You would need to do this:

vars:
intrabarpersist a(0), intrabarpersist(b);

Hope this helps!

Reply With Quote
  #18 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,460 since Jun 2009
Thanks Given: 33,234
Thanks Received: 101,655


rjelles View Post
This may help - if you are declaring several intrabarpersist vars in one statement, you need to include the "intrabarpersist" modifier in front of each var, otherwise it will be treated as a normal var.

In this example:
vars:
intrabarpersist a(0), b(0);

"b" will not be an intrabar. You would need to do this:

vars:
intrabarpersist a(0), intrabarpersist(b);

Hope this helps!

Sorry but no, you can see my code in post #1.

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
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving 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 Started this thread Reply With Quote
Thanked by:




Last Updated on December 27, 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