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

[amibroker] Re: Bar by bar multiple criteria buy/sell signals.



PureBytes Links

Trading Reference Links

anybody have any idea on this?




--- In amibroker@xxxxxxxxxxxxxxx, "livinloud_1104" <kapishmohole@xxx>
wrote:
>
>
> Hi,
>
> How to generate buy/sell signals using multiple criteria, I need 4
> different criteria for both buy and sell signals.
>
> Buy signal can be based on MACD, ADX, RSI or MA etc. And the sell
> signal after this buy signal can be of any of these indicators,
>
> For example, If buy was from MACD then sell is from ADX, if buy from
RSI
> then sell from MACD indicator.
>
> For each buy or sell, at every bar the system should check for all
four
> criteria and select only one specific to that bar number. For bars
> ahead, it might find other suitable criteria.
>
> I have been trying it with "logical OR", by looping "(i=0;
> i<barcount; i++)", by "switch" loop, by "while,
> break" loop, using array element [].
>
> It doesn't seem to work. What it dose is, whenever it meets first
> criteria, its using just that criteria through out, till BarCount. If
> first buy was found by RSI then all next buy signals are from RSI, it
> won't consider MACD or DAX or anything else to find next buy signal.
>
>
>
> Anyone tried doing this?
>
>
>
>
>
> Thanks
>





------------------------------------

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

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

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