Topic: Question about top bottom price
I want to use top bottom price indicator as for opening positions but it only has some defined time frames. It has previous bar, day, week and moth. But i want to use other time frames for example 4 hours. How can I do that?
Can i change Time[bar ].Day to Time[bar ].Hour in below code and multiply it by 4 like this?
case 1: // Previous day
isPeriodChanged = (4*Time[bar].hour !)= (4*Time[bar - 1].Hour) ;
break;
I myself think it does not work for my purpose.
Please help me to use 4 hours time frame.