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

[amibroker] Plot help please



PureBytes Links

Trading Reference Links

How do you plot a line of fixed length each day?

I'm try to draw a line only between the hours of 06:00 & 12:00 and the IIF() function doesn't accept the Plot statement and the if() function doesn't accept arrays, so I can't write

if(timenum() >= etc etc

{

plot (etc etc);

}

 

AM6H = ValueWhen(TimeNum()== 120000,HHV(H,10) + 0.0002);

H5 = Plot(AM6H ,"",colorWhite,styleLine|styleNoRescale);

IIf ( TimeNum() >= 060000 AND TimeNum() <= 120000,H5, Null);//Doesn't work with IIF()




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





YAHOO! GROUPS LINKS