PureBytes Links
Trading Reference Links
|
The code I gave to you had one error. Here is the corrected code. It works just fine. Copy and paste away. You might also want to try the buy=cross(RSIx,entry) code as suggested by another person.
num=2;
RSIx=RSI(num);
Entry=20;
Exit=80;
Buy=Ref(RSIx,-1)<Entry AND RSIx>Entry;
Sell=RSIx>Exit;
--- In amibroker@xxxxxxxxxxxxxxx, "prasantaroy36" <prasantaroy36@xxx> wrote:
>
> dear wood,
>
> Thanks for your response. I am a layman , nothing knowledge about programming. So, pl, give full code for my stated condition for copy & paste.
>
> Thanks
>
> --- In amibroker@xxxxxxxxxxxxxxx, "woodshedder_blogspot" <woodshedder_blogspot@> 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/
|