hi,
i have code for weekly pivot point. im trying to work out how to adjust it so
that i can plot the 2week pivot point.
is anyone able to help
this is the code ive got
_SECTION_BEGIN("weekly pivot");
WeekH = TimeFrameGetPrice("H", inWeekly, -1);
WeekL = TimeFrameGetPrice("L", inWeekly, -1);
WeekC = TimeFrameGetPrice("C", inWeekly, -1);
WeekO = TimeFrameGetPrice("O", inWeekly);
// regular pivots
if ( True )
{
PP = (WeekL + WeekH + WeekC)/3 ;
}
Plot(PP, "PP",colorRed,styleLine+styleNoLabel);
_SECTION_END();