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

RE: [amibroker] Not initialized



PureBytes Links

Trading Reference Links

You just need to add the double slashes to Listing 2 to get it to work

//LISTING 2

 

Thomas

www.patternexplorer.com

 

 

From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of M. Smith
Sent: Monday, February 19, 2007 5:59 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Not initialized

 


In this formula, I get an error saying Bull power is not initialized. Will
someone show me what is wrond? Thank you, Marshall


LISTING 1

// calculate TRsV 
TRSV = Volume / ATR( 1 ); 

// Plot TRsV ... 
Plot( TRSV, "TRsV", colorBlue, styleThick ); 
// ... and color-coded volume 
Plot( Volume, "Volume", IIf(  Close > Open, colorGreen, colorRed ),
styleHistogram ); 


LISTING 2 


/* Bull-Bear power indicator */ 

BullPower = 
IIf( C < O, 
IIf( Ref( C, -1 ) < O, 
Max( H - Ref( C, -1 ), C - L ), 
Max( H - O, C - L ) ), 

IIf( C > O, 
IIf( Ref( C, -1 ) > O, 
H - L, 
Max( O - Ref( C, -1 ), H - L ) ), 

IIf( H - C > C - L, 
IIf( Ref( C, -1 ) < O, 
Max( H - Ref( C, -1 ), C - L ), 
H - O ), 

IIf( H - C < C - L, 
IIf( Ref( C, -1 ) > O, 
H - L, 
Max( O - Ref( C, -1 ), H - L ) ), 

IIf( Ref( C, -1 ) > O, 
Max( H - O, C - L ), 

IIf( Ref( C, -1 ) < O, 
Max( O - Ref( C, -1 ), H - L ), 
H - L ) ) ) ) ) ); 


BearPower = 
IIf( C < O, 
IIf( Ref( C, -1 ) > O, 
Max( Ref( C, -1 ) - O, H - L ), 
H-L ), 

IIf( C > O, 
IIf( Ref( C, -1 ) > O, 
Max( Ref( C, -1 ) - L, H - C ), 
Max( O - L, H - C ) ), 

IIf( H - C > C - L, 
IIf( Ref( C, -1 ) > O, 
Max( Ref( C, -1 ) - O, H - L ), 
H - L ), 

IIf( H - C < C - L, 
IIf( Ref( C, -1 ) > O, 
Max( Ref( C, -1 ) - L, H - C ), 
O - L ), 

IIf( Ref( C, -1 ) > O, 
Max( Ref( C, -1 ) - O, H - L ), 

IIf( Ref( C, -1 ) < O, 
Max( O - L, H - C ), 
H - L ) ) ) ) ) ); 

Plot( MA( BearPower, 2 ), "2-day MA of BearPower", colorRed ); 
Plot( MA( BullPower, 2 ), "2-day MA of BullPower", colorGreen );

----- Original Message ----- 

From: wavemechanic <mailto:fimdot@xxxxxxxxx>  

To: amibroker@xxxxxxxxxxxxxxx 

Sent: Monday, February 19, 2007 10:25 AM

Subject: Re: [amibroker] Re: I think the real defect of Amibroker is
charting

 

There are a number of other charting suggestions than the three that you
mention, including some that have been implemented completely or to some
degree.  Some are totally new and others address improvements to tools, ease
of operation, appearance, etc.

 

Different users will zero in on different "make or break" characteristics
that move them to other software where they perceive better performance and
use AB where it is superior.  It would be nice to have one program that does
all but at this point some feel that more than one is needed.  Nothing wrong
with that.  Some software outfits strive to be the one that fits all while
others aim to be the tops in a specific niche.  Users will figure out which
one or combination works best for them - and that's OK.

 

Charting suggestions are not new and have been made through the years even
before the new board existed.  I suspect that some are "lost" on the current
board because of the way they are described either in the title or lack of
clarity in the message.  Perhaps the suggestion board (and maybe also the
bug board) needs subsections for charting, AFL, etc. to ensure that
suggestions are properly grouped.  If this were established then users could
move or copy previous suggestions into the appropriate sub-board and future
suggestions would automatically be properly classified.

 

Bill 

 

----- Original Message ----- 

From: "danielwardadams" < <mailto:danielwardadams@xxxxxxxxx>
danielwardadams@xxxxxxxxx>

To: < <mailto:amibroker@xxxxxxxxxxxxxxx> amibroker@xxxxxxxxxxxxxxx>

Sent: Monday, February 19, 2007 9:38 AM

Subject: [amibroker] Re: I think the real defect of Amibroker is charting

 

> If you want additional studies, Tomasz has already indicated if you
> submit them as feature requests, they will be considered for
> implementation as part of the AB package. Here is the link with his
> offer:  <http://finance.groups.yahoo.com/group/amibroker/message/106685>
http://finance.groups.yahoo.com/group/amibroker/message/106685.
> 
> Since making the offer, I think there have only been three requests:
> (1) one for ray extensions, (2) one for Equivolume charts, and (3) one
> for Chaiken Money Flow. FWIW, the last two requests were made by me.
> (There may have been more but they haven't been approved for
> consideration so aren't visible yet).
> 
> So, if additional "out of the box" studies is what is stopping people
> from using AB as a "one-stop" charting solution, you have an option.
> But IMO the only reason people should use this an excuse is if
> (reasonable) requests for studies are submitted and don't get
> implemented. I say "reasonable" because, for example, I don't know if
> implementing Equivolume charts is possible within the current AB
> design constraints.
> 
> If "crispiness" or 16 zillion colors or some of the other
> "subjective, hard to explain" reasons is what is stopping you, maybe
> you'll have to continue with multiple charting solutions. However if
> you think any of these subjective-type requests could actually help
> you trade better, I'd like to understand how. Remember that that we
> are only two or three decades from the time all this stuff was done
> with paper and pencil and rulers and good traders made money then. At
> the risk of being too blunt, I think using a charting package as an
> excuse for not making money trading is a copout.
> 
> Dan
> 
> 
> --- In  <mailto:amibroker@xxxxxxxxxxxxxxx> amibroker@xxxxxxxxxxxxxxx,
"brian.z123" <brian.z123@xxx> wrote:
>>
>> 
>> Fair enough.
>> 
>> A few minutes at the website doesn't equal a trial.
>> 
>> I will take the Ensign trial when I get a chance and have a look at 
>> the additional studies.
>> 
>> BrianB2.
>> 
>> --- In  <mailto:amibroker@xxxxxxxxxxxxxxx> amibroker@xxxxxxxxxxxxxxx,
"wavemechanic" <fimdot@> wrote:
>> >
>> > Brian:
>> > 
>> > If you are really interested in using charting techniques, have you 
>> considered looking at some of the programs, including those mentioned 
>> in previous messages, on a trial basis?
>> > 
>> > Bill
>> > 
>> > 
>> > ----- Original Message ----- 
>> > From: "brian.z123" <brian.z123@>
>> > To: < <mailto:amibroker@xxxxxxxxxxxxxxx> amibroker@xxxxxxxxxxxxxxx>
>> > Sent: Sunday, February 18, 2007 8:31 AM
>> > Subject: [amibroker] Re: I think the real defect of Amibroker is 
>> charting
>> > 
>> > 
>> > > Hello Trading Humble,
>> > > 
>> > > I am not having a go at you or pushing any agenda; I am trying to 
>> > > understand what the chartists want for my own reasons
>> > > (if they are using charts in a way that I am not and it is 
>> > > contributing to their trading success I want to know about it).
>> > > 
>> > > The problem is no-one can specify what it is they are after 
>> > > (including screenshots).
>> > > 
>> > > Rakesh lists some studies; fair enough, you've definitely drawn 
>> some 
>> > > empathy from me.
>> > > Without the facts, however, I can't decide either way, but I 
>> assume 
>> > > Tomasz must have his reasons why he didn't implement the 
>> suggestions.
>> > > 
>> > > I read Joe's post of 03 #49871 but without a screenshot I can't 
>> > > readily understand what he wants.
>> > > 
>> > > 
>> ********************************************************************
>> > > 
>> > > Re your points.
>> > > 
>> > > I am an art lover.
>> > > I particularly like visionary art.
>> > > If you want graphics have a look at 
>> > > 
>> > >  <http://iasos.com/artists/> http://iasos.com/artists/
>> > > 
>> > > but I am not looking for an art experience when I open AB.
>> > > 
>> > > I think it looks quite nice and it is visually pleasant while 
>> working 
>> > > in it.
>> > > We have a choice of skins.
>> > > 
>> > > 
>> > > I have had a quick look at the Ensign site and I don't agree that 
>> the 
>> > > chart quality is superior although the web page is more artistic.
>> > > 
>> > > Crispy can only be an issue of resolution or contrast.
>> > > Isn't the resolution the same for most of us (depending on 
>> computer 
>> > > graphics card)?
>> > > How can another software package have superior resolution to Ami?
>> > > Would it show on my computer if it did?
>> > > 
>> > > Contrast comes down to the colours used; two adjacent lines look 
>> > > different depending on the colours used or perspective.
>> > > 
>> > > How do we add perspective to 2D charts.
>> > > Anyway, once again 3D is arty but seldom functional in software.
>> > > Of course Ami does have 3D where it counts; in the optimised 
>> output.
>> > > 
>> > > Doesn't Ami have a full colour palette the equal of other 
>> software 
>> > > and don't we have the option to change colour settings?
>> > > 
>> > > Ensign uses a lot of colour which looks *arty*, but does it have 
>> a 
>> > > function other than entertainment?
>> > > 
>> > > I love pink, but I am not sure about it in my candlesticks.
>> > > 
>> > > I don't agree that the Ensign charts look any better than Ami's.
>> > > 
>> > > It can't be in the fonts, as they are standard.
>> > > Where is the difference?
>> > > 
>> > > Ensign appears to have some extra studies and drawing tools; are 
>> they 
>> > > what people want?
>> > > 
>> > > If so why not put forward a well researched and referenced 
>> request 
>> > > with screenshots.
>> > > Advertise it here and submit it to suggestions and I am sure you 
>> will 
>> > > get a hearing.
>> > > Some of the fence sitters, like me, may even join in the chorus 
>> > > asking Tomasz to implement them.
>> > > 
>> > > As for ease of use; how exactly is the way we use Ami's drawing 
>> tools 
>> > > any different from other programs (point & click)?
>> > > 
>> > > As I said, I am looking to buy your arguments but no one has made 
>> a 
>> > > tempting offer so far.
>> > > 
>> > > Regards,
>> > > 
>> > > BrianB2.
>> > > 
>> > > --- In  <mailto:amibroker@xxxxxxxxxxxxxxx> amibroker@xxxxxxxxxxxxxxx,
"tradinghumble" <sharp2be@> 
>> > > wrote:
>> > >>
>> > >> Just adding to the opinions here, I think AB is the king of 
>> > >> backtesting and programming but I have to agree that it lacks 
>> when 
>> > >> comes to charting... and I'm not talking about indicators, I'm 
>> > >> talking about "charting, quality, graphics, etc" ... I've 
>> brought 
>> > >> this issue up many times but noone seems to understand it... I 
>> > > guess 
>> > >> you have to use TradesStation or even Ensign and QT to 
>> understand 
>> > >> what I mean by crispy ... on the other hand, I've hard people 
>> > >> comparing AB to Metastock.. now, that's silly, AB is miles away 
>> > > from 
>> > >> Metastock , 15 times better... so, in summary, if your think is 
>> EOD 
>> > >> charts and your main focus is automation, there's no better 
>> place 
>> > >> than AB...
>> > >> 
>> > >> 
>> > >> --- In  <mailto:amibroker@xxxxxxxxxxxxxxx>
amibroker@xxxxxxxxxxxxxxx, "Rik Rasmussen" <hrasmussen@> 
>> > >> wrote:
>> > >> >
>> > >> > You do not mention any way you find it to be inferior.
>> > >> > 
>> > >> > What is it about the charts that you find lacking?
>> > >> > 
>> > >> > Rik Rasmussen
>> > >> > 
>> > >> > > -----Original Message-----
>> > >> > > From:  <mailto:amibroker@xxxxxxxxxxxxxxx>
amibroker@xxxxxxxxxxxxxxx 
>> > >> > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of itmwh
>> > >> > > Sent: Thursday, February 15, 2007 9:50 AM
>> > >> > > To:  <mailto:amibroker@xxxxxxxxxxxxxxx>
amibroker@xxxxxxxxxxxxxxx
>> > >> > > Subject: [amibroker] I think the real defect of Amibroker is 
>> > >> charting
>> > >> > > 
>> > >> > > 
>> > >> > > I think amibroker as a system 
>> developing/backtesting/automatic 
>> > >> > > excecution software is superb, actually, in my opinion, best 
>> in 
>> > >> the 
>> > >> > > market, especially considering the price. But as a new user 
>> of 
>> > >> > > Amibroker, I also found the charting proportion of Amibroker 
>> > >> > > is not as 
>> > >> > > competive as other functions.  I have some experience with 
>> > >> > > ensign, and 
>> > >> > > feel that is the best charting software. I am not a 
>> > > discretionary 
>> > >> > > trader, and I do not think ensign is worthy of the monthly 
>> > >> > > subscription 
>> > >> > > price, so I will stay with Amibroker , but I hope amibroker 
>> > >> > > can improve 
>> > >> > > its charting function. A improved charting capability ,will 
>> > >> appeal to 
>> > >> > > the vast majority of the retail traders and also greatly 
>> > > improve 
>> > >> the 
>> > >> > > sales of this software, even at a higher price. Just my 
>> > > personal 
>> > >> > > thoughts, sorry if not correct.
>> > >> >
>> > >>
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 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/> http://www.amibroker.com/devlog/
>> > > 
>> > > For other support material please check also:
>> > >  <http://www.amibroker.com/support.html>
http://www.amibroker.com/support.html
>> > > 
>> > > Yahoo! Groups Links
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > 
>> > > -- 
>> > > No virus found in this incoming message.
>> > > Checked by AVG Free Edition.
>> > > Version: 7.5.441 / Virus Database: 268.18.1/690 - Release Date: 
>> 2/16/2007 2:25 PM
>> > > 
>> > >
>> >
>>
> 
> 
> 
> 
> 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/> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
>  <http://www.amibroker.com/support.html>
http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
>    (Yahoo! ID required)
> 
>     <mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx>
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> 
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2/18/2007
4:35 PM
> 
> 

 


Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.18.3/693 - Release Date: 2/19/2007 5:01 PM