[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Forex Grid



PureBytes Links

Trading Reference Links

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);

}

 

 

 

Regards

 

Klaus




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS