The main time frame (BarsInProgress==0) is a smaller one (STF, for example: 5 Range), and the other time frame (BarsInProgress0 || ==1) is a higher one (HTF, for example: 8 Range).
This indicator need to works IntraBar on both time frames. The indicator setup is "On Bar Close = false".
On any change (in both time frames) I check my conditions, which is based on results of few indicators from both time frames. So I call each indicator return DataSeries, and based on the values calculate my condition.
Everything works well, except the fact that I can't get the results of the HTF indicator values Intrabar. Since the STF is smaller then HTF, it changes more, so what I get is the last close values of the HTF, but not the current intrabar one. Calling the indicator, doesn't include the OnBarClose parameter.
I know there is a solution, since I compare the results with BloodHound and they manage to get the HTF to reflect inrabar.
Any ideas?
P.S. I also sent the code to support (at) ninjatrade (dot) com title "Source code for post 426181"
Comment