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

[amibroker] Re: ParamField question?



PureBytes Links

Trading Reference Links

>>PA = ParamList("Price Array","O|H|L|C|(O+H)/2|(O+H+L+C)/4",3);

if(PA == "O" ) PriceArray = O;

else if( PA == "H" ) PriceArray = H;

else if( PA == "L" ) PriceArray = L;

else if( PA == "C" ) PriceArray = C;

else if( PA == "(O+H)/2" ) PriceArray = (O+H)/2;

else if( PA == "(O+H+L+C)/4" ) PriceArray = (O+H+L+C)/4;


Plot(C,"",1,128);

Plot(PriceArray,PA,colorRed,styleLine);<<

Thanks Herman, that sample code was just what I needed.

Bill




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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/