GetTimeFrame function
Returns Time Frame of the market.
<FONT size=2>val = <B>GetTimeFrame</B> </FONT> |
Remarks
This function returns time frame of the market. Possible values are:
| Value |
Meaning |
| 0 |
One Minute |
| 1 |
Five Minutes |
| 2 |
Ten Minutes |
| 3 |
Fifteen Minutes |
| 4 |
Thirty Minutes |
| 5 |
FortyFive Minutes |
| 6 |
Sixty Minutes |
| 7 |
Daily |
| 8 |
Weekly |
| 9 |
Monthly |
| 10 |
Quarterly |
| 11 |
Yearly |
Also if you place a order as closeexit , type as the parameter for ExitLong,ExitShort , where you would normally use Market,Stop it will cause the trades to exit at the end of the day.
Copyright © 2003 - 2006 |