Professional Documents
Culture Documents
{
GraphXSpace = 5;
SetChartBkColor(ParamColor("BackGroundColor", colorCustom1));
symbol = Name();
ccy2= StrRight(symbol,3);
Ccy1= StrLeft(symbol,3);
j = 0;
}
}
}
}
delta = BarCount - j -1;
direction = Ref(direction, - delta);
/* Grid Construction*/
PlotGridLines = ParamToggle("PlotdGrid", "No|Yes");
if (PlotGridLines)
{
SetChartOptions(1,0, 0);
end = BarCount-1;
bar = BarIndex();
begin = Status("firstvisiblebar");
}
else
SetChartOptions(1,chartShowArrows|0);
Title =
"Interval: " + Interval(2) + "\n" +
"Box : " + Box*decimals + " pip \n" +
"ATR : " +NumToStr(LastValue(ATR(20) *decimals), 1.0) + " pip";
}
else
Title = "PF with Forex Settings is not Suitable for this market";