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

Re: [amibroker] Re: AmiBroker 5.24.0 BETA released



PureBytes Links

Trading Reference Links

Thomas Ludwig wrote:
On Saturday 07 March 2009 10:29:46 Tomasz Janeczko wrote:

  
Yes calculation of complex formula in one pane and passing to other panes
is the simplest application.
    

TJ,

I'm a programming illiterate - would you or somebody else be so kind to 
provide a simple example how to do that exactly? Lets's say I want to plot an 
indicator in one pane and see its buy/sell signals/arrows in another.

Many thanks in advance!

Greetings,

Thomas

  
//Pane 1:
indicator = CCI();
Buy = Cross(indicator, 0);
StaticVarSet("signals", Buy);
Color =
IIf(Buy, colorGreen, colorLightGrey);
Plot (indicator, "CCI", Color);
PlotGrid(0, colorRed);



//Pane 2:
sig = StaticVarGet("signals");
Color =
IIf(sig, colorGreen, colorLightGrey);
Plot (C, "price", Color, styleBar);







__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





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

__,_._,___