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

Re: [amibroker] Re: Perry Kaufman Adaptive Moving Average



PureBytes Links

Trading Reference Links

hello Herman,

Herman vandenBergen wrote:
> CursorIndex = SelectedValue(BarIndex());
> CursorBar  = CursorIndex == BarIndex();
> ParamPrice = *Close* * (1 + 0.01 *Param("%ChangeOpen",0,-5,5,0.01));
> *C* = IIf(CursorBar, ParamPrice, *Close*);
> Plot(*C*,"Close",1,64);

cute code. but changing price has influence only within scope of the 
indicator which uses it.
is it possible to modify this code somehow so that it would affect other 
indicators placed on the same sheet up/above price plot?

cheers,
bm


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/