- Drag the SAR on to the chart and it draws itself.
Bar = iBars(NULL, 240); Count = Bar - 2; while ( Count >= 0 ){ Sar = iSAR(NULL, 240, Step, Maximum, Count);
This says get the sar from H4, but SarBuffer/Count is relative to the current chartfor (int shift = Bars-1-indicatorCounted(); shift >= 0; shift--){ int H4shift = iBarsShift(NULL, PERIOD_H4, Time[shift]); SarBuffer[shift] = iSAR(NULL, PERIOD_H4, Step, Maximum, H4shift); }
I see but I need my indicator shows the result of pSAR ( H4 ) on H1, M30 chart. How to do that?
How to draw the result of iSAR.... on H1, M30....?
Pls! Help me.