This is cool. thanks Graham. However i dont find == feature in any of the docs. Are there hidden undocumented features in amibroker that needs to be revealed? Any pointers in this direction would be appreciated.
--- In [email protected], Graham <[EMAIL PROTECTED]> wrote: > > Bracket count was necessary, and the == instead of = to equate 2 values > One thing remember the rest of the plotshapes function inputs in case > you want to plot them on some other type of chart. > > rang=High-Low; > nr7=IIf(rang==LLV(rang,7),shapeDigit7,shapeNone); > PlotShapes(nr7,colorGreen,0,L,0); > > also here is another way of writing it > rang=High-Low; > nr7=rang==LLV(rang,7); > PlotShapes(nr7*shapeDigit7,colorRed,0,L,-16); > > > > > On 03/02/07, murthysuresh <[EMAIL PROTECTED]> wrote: > > Hello > > I am trying to plot a NR7- smallest range in 7 days. But i keep getting > > error. > > here is my code. can someone point where i did wrong. > > > > rang=High-Low; > > nr7=IIf(rang=LLV(rang,7),shapeDigit7,shapeNone)); > > PlotShapes(nr7,colorGreen); > > > > > > > > > > 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > > http://www.amibroker.com/devlog/ > > > > For other support material please check also: > > http://www.amibroker.com/support.html > > > > Yahoo! Groups Links > > > > > > > > > > > -- > Cheers > Graham > AB-Write >< Professional AFL Writing Service > Yes, I write AFL code to your requirements > http://www.aflwriting.com >
