Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
First post so apologies if it is a really simple question.
I've just started programming in MC / Powerlanguage and I am seeing a difference between the daily open as plotted on my hourly chart, and the daily open on a 100 tick chart.
Both are using the OpenD(0) keyword. As an example, On my hourly GBPUSD chart I have todays Open @ LMAX @ 1.67345, but on the 100 tick chart is it @ 1.67283.
I understand that the tick chart has a different opening bar and therefore would display a different value for the daily open, however I am wanting to find out how to ensure I have the daily open from my hourly chart displayed on the tick charts.
Is there a way to ensure I have the same lines across all my charts? Hourly, 100 Tick, 233 Tick etc??
Am I using the openD reserved word incorrectly? Do I need to set the daily open in a global variable etc?
Here is the (simplified) code snippet I am using:
Any assistance would be greatly appreciated
Can you help answer these questions from other members on NexusFi?
The only problem is that I am getting yesterdays Open price rather than today's open price. This is probably because the charts are referenced differently in MC, at the closing of the period rather than the start, is that right? So based on that do I have to take the open price from the hourly chart @ the close of the first bar?
Here is the code, I am sure it is wrong, I've chopped and changed it so many times:
I'm seriously lost here so would appreciate some help.