There are 3 charts on one workspace. It contains 3 charts: 2 min/5 min/10 min. Each chart has a signal applied and it is just a most simple one:
If d<>d[1] then
buy 1 at market;
The market opens at 9 am. When it is 09:10 am, what is the order of evaluation of the above 3 charts? That is which chart's signal will be generated first?
What if charts are distributed across multiple workspaces?
HR
[Q] The order of signal evaluation/generation?
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
TJ,
Thanks for your answer and I admit my initial question was stupid.
I would change the initial code as below:
The problem is how to find out which chart gets completed first.
Is there any way to find out which chart gets completed first at 09:10 AM among 2min/5min/10min charts? All these 3 charts will complete their own bars at 09:10 AM.
Is it random or any consistent rule for the bar completion order?[/code]
Thanks for your answer and I admit my initial question was stupid.
I would change the initial code as below:
Code: Select all
If Time=0910 then
Buy at Market;
Is there any way to find out which chart gets completed first at 09:10 AM among 2min/5min/10min charts? All these 3 charts will complete their own bars at 09:10 AM.
Is it random or any consistent rule for the bar completion order?[/code]
-
- Posts: 117
- Joined: 08 Nov 2005
- Been thanked: 3 times
the 3 charts on same time.... because 0910 is multipli of 2,5,10 min and never you get one charts completed first ...TJ,
Thanks for your answer and I admit my initial question was stupid.
I would change the initial code as below:
The problem is how to find out which chart gets completed first.Code: Select all
If Time=0910 then
Buy at Market;
Is there any way to find out which chart gets completed first at 09:10 AM among 2min/5min/10min charts? All these 3 charts will complete their own bars at 09:10 AM.
Is it random or any consistent rule for the bar completion order?[/code]
jo
I know all three signals are completed at the same time theoretically, but my question is about the reality.the 3 charts on same time.... because 0910 is multipli of 2,5,10 min and never you get one charts completed first ...
After all the MC's internal signal generating engine would sort out all the charts that are completed at the same time (theoretically). Then next it would send out each corresponding orders to the real world broker. I am asking in what sequence are those 3 orders sent to the broker.
HR
-
- Posts: 117
- Joined: 08 Nov 2005
- Been thanked: 3 times
if possible have difference about microseconds.......I know all three signals are completed at the same time theoretically, but my question is about the reality.the 3 charts on same time.... because 0910 is multipli of 2,5,10 min and never you get one charts completed first ...
After all the MC's internal signal generating engine would sort out all the charts that are completed at the same time (theoretically). Then next it would send out each corresponding orders to the real world broker. I am asking in what sequence are those 3 orders sent to the broker.
HR
the send order will be light strategic (less line easylanguage) media strategic and heavy strategic.......maybe ???' or light indicator ,etc....
or put you strategic to ask for confirmation to send the order ....
jo
-
- Posts: 117
- Joined: 08 Nov 2005
- Been thanked: 3 times
okok. here is what i really want to know.
I would like to control the sequnce of order generation at my own will for the 2/5/10 min charts. For example, I would like to specify 10min order first, 2 min order next, and finally 5 min order.
Would this be possible?
HR
put 3..... 2/5/10min in the same charts data1,data2,data3
if close of data1=true then buy("2min")
if close of data2=true then buy ("5min")
if close of data3=true then buy ("10min")
and properties of strategic (allow up to 3 orders in the same direction.....)
maybe help
jo
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
ok. here is what i really want to know.
I would like to control the sequnce of order generation at my own will for the 2/5/10 min charts. For example, I would like to specify 10min order first, 2 min order next, and finally 5 min order.
Would this be possible?
HR
if they are of the same symbol, trade at the same broker, of the same account, it will not make any difference...
you must be thinking of trading multiple accounts...
-
- Posts: 117
- Joined: 08 Nov 2005
- Been thanked: 3 times
that code generate buy in this order... 2 min,5min ,10min (easlylanguage execute one code line (;;;; ) each time)and tooo quick you dont have time to see what is firstgregorio123456,
Are you saying this code will generate signals in 10min/2min/5min sequence at 09:10 AM?
I don't see your point here. Maybe you want to explain more.
What if 3 different charts?
Thanks.
HR
{{{What if 3 different charts?}}} w diferente symbols or same symbol I dont know....
Why do you want made this???? if condition is true we buy or sell......
the order or sequence dont matter ......
jo