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

[amibroker] Re: Want Logic


  • Date: Sat, 23 Jan 2010 22:43:55 -0000
  • From: "Barry" <razzbarry@xxxxxxxxxxxx>
  • Subject: [amibroker] Re: Want Logic

PureBytes Links

Trading Reference Links

You can also use cross.  
buy = cross(rsix, entry);
for the cross to happen rsix had to be below the entry.

sell = cross(exit, rsix);
for the cross to happen rsix had to be above the exit.

Barry

--- In amibroker@xxxxxxxxxxxxxxx, "woodshedder_blogspot" <woodshedder_blogspot@xxx> wrote:
>
> This is really simple. You should be able to code it yourself, but I'll get you started. I did not try this in AmiB, so there may be some errors.
> 
> num=2;
> RSIx=RSI(c,num);
> Entry=20;
> Exit=80;
> Buy=Ref(RSIx,-1)<Entry AND RSIx>Entry;
> Sell=RSIx>Exit;
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "prasantaroy36" <prasantaroy36@> wrote:
> >
> > i want afl code for below condition-----
> > 
> > Rsi value falls below 20 &then cross 20 for upward jurney for buy signal.
> > 
> > Again put condition--1) Rsi must falls below 20 & BUY signal will be cross 20 when upward jurney.
> > 
> > Thanks
> >
>




------------------------------------

**** 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:
    amibroker-digest@xxxxxxxxxxxxxxx 
    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/