I want to use open next bar +- to enter and exit the market. That means I need to convert a normal daily bar chart and .... Is the easiest way to just stick with a daily chart and add a new data series = the 1 minute chart and substitute "open next bar" with opend(0) of data2 ??
Will that work?
Converting a EOD system to intraday
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Converting a EOD system to intraday
the process works in this order:I want to use open next bar +- to enter and exit the market. That means I need to convert a normal daily bar chart and .... Is the easiest way to just stick with a daily chart and add a new data series = the 1 minute chart and substitute "open next bar" with opend(0) of data2 ??
Will that work?
1. receive data (current bar)
2. analyze data (current bar)
3. send order (next bar or next tick)
Your current bar is the bar that receives the final piece of data in your analysis.
In this case, it is the bar that provides the opening price.
You can still use daily chart for trading...
just bear in mind that all calculations are done on the current bar.
For backtesting, you will need to use bar magnifier. (ie you will need a finer resolution second data series).
Re: Converting a EOD system to intraday
so to be clear - will this work?
.. D1= daily data and D2 = 1 minute data
If close >Average(close,10) then Buy 1 contract next bar at opend(0) of data2+
.5*Avgtruerange(20) stop;
.. D1= daily data and D2 = 1 minute data
If close >Average(close,10) then Buy 1 contract next bar at opend(0) of data2+
.5*Avgtruerange(20) stop;
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Converting a EOD system to intraday
noso to be clear - will this work?
.. D1= daily data and D2 = 1 minute data
If close >Average(close,10) then Buy 1 contract next bar at opend(0) of data2+
.5*Avgtruerange(20) stop;
autotrade only executes on data1.
- TJ
- Posts: 7743
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2222 times
Re: Converting a EOD system to intraday
so to be clear - will this work?
.. D1= daily data and D2 = 1 minute data
If close >Average(close,10) then Buy 1 contract next bar at opend(0) of data2+
.5*Avgtruerange(20) stop;
- Attachments
-
- now.jpg
- NOW
- (15.42 KiB) Downloaded 559 times