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

[amibroker] Re: Help Please !!!How to control sell time with Barsince for more than 1 stocks


  • Date: Tue, 09 Mar 2010 16:07:22 -0000
  • From: "jollypollyanna" <jollypolly999@xxxxxxxxx>
  • Subject: [amibroker] Re: Help Please !!!How to control sell time with Barsince for more than 1 stocks

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/





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

__,_._,___