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

[amibroker] Plots and stuff



PureBytes Links

Trading Reference Links

G'day all,

I'm trying to get a simple key reversal point plotted on a price chart, 
but am having no luck. It plots points, but not at where the key 
reversal bars are. The code is below:

// simple key reversal

H1 = Ref(H, -1);
H2 = Ref(H, -2);
C1 = Ref(C, -1);
C2 = Ref(C, -2);
L1 = Ref(L, -1);
L2 = Ref(L, -2);

DaysSince = 6;
//DaysSince = Optimize("DaysSince",30,1,30,1);

SetUp = L1 < L2 AND C1 > C2 AND L1 == LLV(L1, DaysSince);
Plot(Setup, "Key Reversal SetUp",7,styleDots+styleNoLine);


Also, how do i get the points to appear overlayed on the price chart of 
the stock, rather than as a graph on it's own? (Preferably plotted at 
the high of the key reversal bar, so it can be clear)

Thanks,

Andrew.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/