Hi There,
To be able to do time calculations I need to be able to tell the chart timeframe that an order was opened from. Currently when I open an order I store the timeframe in the comments of the order as tf=15 or tf=240.
My question is, does any one know of an easier way to be able to tell what chart timeframe an order was opened on?
Thanks in advance,
John
Timeframe of open orders
- Elixe
- Trader
- Posts: 98
- Joined: Tue Jun 04, 2013 6:44 pm
- Location: France
Timeframe of open orders
Hi
As far as I know, this is not possible, I would suggest you set the orders magicnumber to the timeframe value, might make it easier to select them as the comment can sometimes be modified by brokers.
Cheers,
As far as I know, this is not possible, I would suggest you set the orders magicnumber to the timeframe value, might make it easier to select them as the comment can sometimes be modified by brokers.
Cheers,
-
dudest
- Trader
- Posts: 1847
- Joined: Tue May 08, 2012 2:37 pm
Timeframe of open orders
CleverElixe » Tue Jul 29, 2014 1:28 pm wrote:Hi
As far as I know, this is not possible, I would suggest you set the orders magicnumber to the timeframe value, might make it easier to select them as the comment can sometimes be modified by brokers.
Cheers,
-
MrLong
Timeframe of open orders
comment = "TF: "+Period();skinner36 » Tue Jul 29, 2014 8:13 am wrote:Hi There,
To be able to do time calculations I need to be able to tell the chart timeframe that an order was opened from. Currently when I open an order I store the timeframe in the comments of the order as tf=15 or tf=240.
My question is, does any one know of an easier way to be able to tell what chart timeframe an order was opened on?
Thanks in advance,
John
Andy
-
skinner36
Timeframe of open orders
Thanks for the ideas guys,
I was basically oping that the timeframe of when the order was opened would be stored against the order information.
I thought it would be a long shot
Cheers,
John
I was basically oping that the timeframe of when the order was opened would be stored against the order information.
I thought it would be a long shot
Cheers,
John
- milanese
- TechAdmin
- Posts: 3293
- Joined: Wed Jan 09, 2013 9:02 am
- Location: btr rdx, r8 +
Timeframe of open orders
No, because you can open positions, without opening a chart, so the only way is to give different magicnumbers for each tf, or store the tf in the order_comment...skinner36 » Wed Jul 30, 2014 7:57 am wrote:Thanks for the ideas guys,
I was basically oping that the timeframe of when the order was opened would be stored against the order information.
I thought it would be a long shot
Cheers,
John
Cheers
Tommaso
Global Prime is the official SHF broker 
Searching for Servers and Workstations with individual configuration?
Just PM
Click here to go to the BoardKnowledgeBase
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
Searching for Servers and Workstations with individual configuration?
Just PM
NOTE: Cookies and JavaScript are required for the using the board, with full functionality
-
dudest
- Trader
- Posts: 1847
- Joined: Tue May 08, 2012 2:37 pm
Timeframe of open orders
OrderMagicNumber() ?skinner36 » Wed Jul 30, 2014 10:57 am wrote:Thanks for the ideas guys,
I was basically oping that the timeframe of when the order was opened would be stored against the order information.
I thought it would be a long shot
Cheers,
John
OrderComment() ?