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

[amibroker] graph0



PureBytes Links

Trading Reference Links

Here is a perfect example of why we newcomers find learning amibroker so difficult. I am trying to find out the intricacies of why some graphs/indicators plot titles and some don't. Why lines are different thicknesses, etc. So I am comparing two diffent codes from the library on the REI indicator. Specifically these lines here:
 

Graph0=TDREI;

Graph0Style=4;

Graph0Color=4;

Graph1=varOverboughtSignal;

Graph1Style=1;

Graph1Color=6;

Graph2=varOversoldSignal;

Graph2Style=1;

Graph2Color=6;

// End: plot all lines

Title =Name() + " -TD REI: " + "("+ WriteVal ( Graph0,format=1.2)+")";

 

and this here:

 

Graph0 = TDREI;

_SECTION_END();

 

First I go to the function reference to look at Graph but it is not a function. A search of the Users guide tells me it is a reserved variable. But it also tells me it is obsolete and that it should not be used in new coding. But it doesn't tell me what replaced Graph0 (I think it is plot, which is a function, but not 100% sure).

 

Granted, I'm not a computer programmer, but does this sound confusing to anyone besides me?

So how would the code above be written today?

 

James

 

 



Looking for last minute shopping deals? Find them fast with Yahoo! Search. __._,_.___

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




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___