PureBytes Links
Trading Reference Links
|
I find the Exrem statement works but I would like to use Applystop with a condition.
To replace this ....
(Ref(ExRemSpan( Buy, 20), -20) AND Close < Ref(BuyPrice, -20));
I thought this would work ....
IIf(Close < Ref(BuyPrice, -20), (ApplyStop( 3, stopModeBars, 20, 2)), 0);
For immediate IIf
SYNTAX |
iif( _expression_, TRUE_PART, FALSE_PART )
|
RETURNS |
ARRAY |
FUNCTION |
"Immediate-IF" - a conditional function that returns the value of
the second parameter (TRUE_PART) if the conditional _expression_ defined by the
first parameter (_expression_) is true; |
__._,_.___
**** 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/
__,_._,___
|