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

Re: [amibroker] remove all excessive signals



PureBytes Links

Trading Reference Links



I would set a flag or a count ...



If (lots of buy conditions are met )
the bFlag += 1

if

bFlag = 1

then

buy

Else

dont buy


Regards


Malcolm

On Mon, Aug 3, 2009 at 10:26 PM, chaoss45 <chaoss45@xxxxxxxxx> wrote:
 

Hello all,

I'm trying to write code for a breakout system.
Right now i have my system working (demo) but i'm having trouble to remove all excessive signals.
I want to take the first Buy or Sell signal of the day, and all other signals for the day removed.
For example: if the first signal is a buy signal, all other buy and sell signals should be removed (or ignored) but i cannot do it.
I tried Exrem and that is working fine only for removing the other buy or sell signals, but not for removing all the other buy and sell signals.
I think it is something simple, but for some reason i do not see it.
Could somebody help me with the code?




--
Malcolm A.B Croucher


__._,_.___


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





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___