PureBytes Links
Trading Reference Links
|
I just learnt by going through what examples are available, then doing
and seeing what happens, and lots of questions to this group when I
started.
--
Cheers
Graham Kav
AFL Writing Service
http://www.aflwriting.com
On 29/02/2008, chorlton_c_hardy <chorlton-c-hardy@xxxxxxxxxxxxx> wrote:
>
> Hello Graham,
>
> I never considered this way of coding it. I was trying to use an IF
> function with no success!! :-/
>
> Thanks for the help !!!
>
> Out of interest, as you're obviously a programmer can you recommend
> any books which might be of help for me to learn this language or a
> language that may be very similar.
>
> I have tried working my way through the online examples, but a lot of
> the time I don't fully understand what is going on. Such as with
> Looping for example.
>
> No offence to Thomasz and the online Manual which he has made
> available, but at times I seem to struggle to understand the basics
> which I appreciate is my fault due to a lack of experience. Rather
> than always rely on this great forum, I would like to try to have the
> confidence to learn how to program things for myself.
>
> Any advice most welcome,
>
> Cheers
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
> >
> > try something like this, you have to be completely specific about
> what
> > set of conditions is wanted
> > PlotShapes((Sell and Sell1 and Sell2==0)*shapeDigit1,
> colorLightBlue,0,L);
> > PlotShapes((Sell and Sell1==0 and Sell2)*shapeDigit2,
> colorLightBlue,0,L);
> > PlotShapes((Sell and Sell1 and Sell2)*shapeDigit3,
> colorLightBlue,0,L);
> >
> > --
> > Cheers
> > Graham Kav
> > AFL Writing Service
> > http://www.aflwriting.com
> >
> >
>
> > On 29/02/2008, chorlton_c_hardy <chorlton-c-hardy@xxx> wrote:
> > >
> > > UPDATE: Running some backtesting, there are times when both Sell
> > > conditions are met at the same time and in these instances I
> would
> > > like to plot this situation as well...probably using the number
> 3 ie:
> > >
> > > PlotShapes(Sell3*shapeDigit3, colorLightBlue,0,L);
> > >
> > > Thanks in advance,
> > >
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "chorlton_c_hardy" <chorlton-c-
> > >
> > > hardy@> wrote:
> > > >
> > > > Hello All,
> > > >
> > > > I currently have 2 seperate conditions (Sell1 & Sell2) which if
> > > > activated individually creates a Sell Signal. Only one of the
> Sell
> > > > conditions will ever activate the signal.
> > > >
> > > > In addition, to avoid redundant signals, I use the following
> code.
> > > >
> > > > buy = ExRem( buy, sell );
> > > > sell = ExRem( sell, buy );
> > > >
> > > >
> > > > What I would like to do now is at the point where a Sell Signal
> > >
> > > > actually appears on my chart, I want to plot a number which
> > >
> > > > represents which Sell Condition was used to exit the trade. The
> > > code
> > > > I have for this is:
> > > >
> > > > PlotShapes(Sell1*shapeDigit1, colorLightBlue,0,L);
> > > > PlotShapes(Sell2*shapeDigit2, colorLightBlue,0,L);
> > > >
> > > > The problem I have at the moment, is that if I simply use the
> above
> > > > code, the numbers are plotted each time the Sell conditions are
> > > true
> > > > even though most of them are redundant signals.
> > > >
> > > > Consequently, is there anyway to only plot them when a Sell
> signal
> > > is
> > > > also plotted?
> > > >
> > > >
> > > > Kind Regards,
> > > >
> > > > Chorlton
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Please note that this group is for discussion between users only.
> > >
> > > To get support from AmiBroker please send an e-mail directly to
> > > SUPPORT {at} amibroker.com
> > >
> > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > > http://www.amibroker.com/devlog/
> > >
> > > For other support material please check also:
> > > http://www.amibroker.com/support.html
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
>
>
>
>
> Please note that this group is for discussion between users only.
>
> To get support from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
>
>
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
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/
|