Hello,
i am trying to add a grid for forex. It should
use the important key levels like 0.0000, 0.0050, 0.0080
here is my code but it works not really
good, especially in the usdjpy it works not correct, but also on the majores
when i view the whole chart i see hundrets of lines. L
Can someone help ?
if(LastValue(C)>5)
{
Level = round(LastValue(C)*100)/100;
Step1 = 0.0050;
}
else
{
Level = round(LastValue(C)*1)/1;
Step1 = 0.50;
}
for (i=0;i<10;i++){
PlotGrid(level +
i*Step1);
}