PureBytes Links
Trading Reference Links
|
Hello,
check out the exrem() and flip() function.
Thomas
www.PatternExplorer.com
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of austin.lawrence24
Sent: Saturday, August 08, 2009 12:47 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] help with code
Hi All
I use the code below to generate the buy signal for the system I am testing
and need to limit the buy signals to one for each time the last part of the
code is true ie:LLV(RSI(7),20) <= 30. Can anyone suggest how I might
achieve this.
EntrySignal = C > ( LLV( L, 20 ) + EntAtrFac * ATR( 10 ) );
ExitSignal = C < ( HHV( H, 20 ) - EntAtrFac * ATR( 10) );
Color = IIf( EntrySignal, colorBlue, IIf( ExitSignal, colorRed, colorRed ));
EntSigLng = Color == colorBlue AND Ref( Color,-1)== colorRed AND
MA(C,EntSigMas) > MA(C,EntSigMaL) AND LLV(RSI(7),20) <= 30;
Thank you to anyone who can help
Kind Regards
Austin Lawrence
------------------------------------
**** 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
------------------------------------
**** 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/
|