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

[amibroker] AB Marker help



PureBytes Links

Trading Reference Links



Is it possible for AB to find the relationship between bars defined 
by
AB Markers?  
I'm using the following bits of code copied from the AB library to 
record
the bars of interest for Close and High values :

StartBar = BeginValue( BarIndex() ); ;
FinishBar = EndValue( BarIndex() ); 

i = StartBar; 

for (i = StartBar; i<Finishbar; i++) 
{ 
	
     Cx = C[i] ;
     Hx = H[i];

}

Don't know where to go from here.

Can AB define the relationship between the Close and High for
each bar such to define the sequence between the markers?  
As example the markers may define the bars as

bars=C>ref(C,-2) and H>ref(H,-3) and ..........so on

Not sure if this is clear but any direction would be appreciated.

Maybe some truth table or coorelation function. 

Thanks
Art






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/