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

[amibroker] Re: signal type



PureBytes Links

Trading Reference Links

Ed,

the Buy array is boolean TRUE/FALSE but it doesn't have to be 1/0.
Any positive number will be evaluated as TRUE.

You can weight your signals,

signalType1 = 1 * ....;
signalType2 = 2 * ....;
signalType3 = 4 * ....;
 
Buy = signalType1 + signalType2 + signalType3;

Now Buy will be true if one or more signals trigger, and  the value 
of the array (0-7) will tell you what combination of signals...

Is this what you meant?

Best regards
Johan




--- In amibroker@xxxxxxxxxxxxxxx, "Edward Pottasch" <empottasch@xxx> 
wrote:
>
> hi 
> 
> as far as I know one can not define a signal type in Amibroker, am 
I right?  What I mean is that I am working with systems that have 
multiple signal types:
> 
> for instance:
> 
> signalType1 = ....;
> signalType2 =....;
> signalType3 = ....;
> 
> Buy = signalType1 OR signlType2 OR signalType3;
> 
> I would like to add to this signal what type of signal it is for 
ranking purpose. This way I can rank the different signal types 
separately.  You can use a different ranking algorithm for each 
signalType but in the end the backtester will put all signals 
together and choose the best ranking ones. If one uses different 
algoritms then ranking will not work properly. One will have to rank 
them seperately but then you have to be able to retrieve what type of 
signal it is in the CBT,
> 
> any ideas?
> 
> thanks, Ed
>




Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

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

For other support material please check also:
http://www.amibroker.com/support.html
 
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/