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

Re: [amibroker] Re: Please help with VBScript execution



PureBytes Links

Trading Reference Links

I just saw this and downloaded the files and read the docs.  This is  
the answer to something I had wanted to do --hierarchical and  
conditional params.  All we need now to make it fully seamless, is to  
have an AFL command that resets the params.  Extremely cool.  Of  
course it would be even better if it was built in so everyone could  
use it without a lot of AFL expertise.

Dennis

On Jul 20, 2007, at 6:51 PM, dan_public@xxxxxxxxxxx wrote:

> A strong second on Bill Barnards param statements!   I thought I'd  
> done some decent work with Params until I saw Bill's presentation  
> last year.  It was a jaw-dropper.   I realized that I was just  
> scratching the surface.   I immediately glommed onto his techniques  
> and implemented them in my own work.
>
> Yes, Bill is the MASTER param dude!  He makes AB stand up and  
> dance!  And it's not just some minor coding tricks.   His approach  
> the caching parameters and reusing them is a completely new  
> approach.  He thinks WAY outside the box.
>
> Regards,
>
> Dan.
>
> -------------- Original message --------------
> From: "dingo" <dingo@xxxxxxxxxxx>
>
> > IMHO the MASTER of the param statement is a duude named Bill  
> Barnard. He
> > gave a presentation at one of the Houston, TX conferences that  
> blew everyone
> > away.
> >
> > Use this Yahoo forum search to see some of his code:
> >
> > http://finance.groups.yahoo.com/group/amibroker/msearch? 
> date=any&DM=--------
> > ----&DD=----&DY=----&DM2=------------&DD2=----&DY2=---- 
> &AM=contains&AT=&SM=c
> > ontains&ST=&MM=contains&MT=barnard+param&charset=utf-8
> >
> > Make sure the above is one line in your browser.
> >
> > You can take the very first msg ( 101906 ) and copy the code in  
> it an put
> > into AB's editor and apply it as an indcator and then do a cntrl  
> R to see a
> > lit tle bi t of what he's done.
> >
> > Maybe Bill or someone will read this and post some more examples.
> >
> > d
> >
> > > -----Original Message-----
> > > From: amibroker@xxxxxxxxxxxxxxx
> > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of kar_avi
> > > Sent: Friday, July 20, 2007 4:40 PM
> > > To: amibroker@xxxxxxxxxxxxxxx
> > > Subject: [amibroker] Re: Please help with VBScript execution
> > >
> > > Is it proprietary or is it available in some forum etc to see? You
> > > cant get text boxes, radio buttons etc to take inputs fast on  
> the fly
> > > can you?
> > >
> > > thx
> > > Kar
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "dingo" wrote:
> > > >
> > > > Actually, I've seen some very nice looking interfaces done  
> with the
> > > param
> > > > approach. Much better than the hacky looking (imho) effect
> > > you get with
> > > > vbScript.
> > > >
> > > > d
> > > >
> > > > > -----Original Message-----
> > > > > From: amibroker@xxxxxxxxxxxxxxx
> > > > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of kar_avi
> > > > > Sent: Friday, July 20, 2007 3:13 PM
> > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > Subject: [amibroker] Re: Please help with VBScript execution
> > > > >
> > > > > I got your point. I was just trying to make a
> > > comprehensive MM builder
> > > > > module like the one here
> > > > > http://www.tradecision.com/product/trading_systems/money_manag
> > > > > ement.htm#
> > > > >
> > > > > Will have to stick to param and commentary window I
> > > guess, unless some
> > > > > of you can come up w ith so me suggestion.
> > > > >
> > > > > Thx
> > > > > Kar
> > > > >
> > > > > --- In amibroker@xxxxxxxxxxxxxxx, "dingo" wrote:
> > > > > >
> > > > > > Well, AB is not compiler based - its an interpreter.
> > > Plus, that has
> > > > > nothing
> > > > > > to do with your problem.
> > > > > >
> > > > > > As I recall you can't have the vb code as under an AFL "if".
> > > > > >
> > > > > > But the biggest problem I see is that you're making the
> > > > > code MUCH harder
> > > > > > than you need to. This call all be coded in AFL and much
> > > > > more cleanly by
> > > > > > using some of the Param.... Functions to imput your
> > > data and using
> > > > > either a
> > > > &g t; > ; chart or the interpretation window to display your  
> results.
> > > > > Is there a
> > > > > > reason you must use vb?
> > > > > >
> > > > > > d
> > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: amibroker@xxxxxxxxxxxxxxx
> > > > > > > [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of kar_avi
> > > > > > > Sent: Friday, July 20, 2007 6:30 AM
> > > > > > > To: amibroker@xxxxxxxxxxxxxxx
> > > > > > > Subject: [amibroker] Re: Please help with VBScript  
> execution
> > > > > > >
> > > > > > > Is it because Amibroker is complier based and VB
> > > > > interpreter based, so
> > > > > > > Amibroker executes the file on a whole and Input Boxes  
> appear?
> > > > > > >
> > &g t; > ; > > >
> > > > > > > --- In amibroker@xxxxxxxxxxxxxxx, "kar_avi" wrote:
> > > > > > > >
> > > > > > > > Hello everyone,
> > > > > > > >
> > > > > > > > Please help me the problem that I am facing with the
> > > > > > > following. Plesae
> > > > > > > > dont look into the merit of the position size
> > > logic. This is for
> > > > > > > > demonstration only.
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > >
> > > > > > > > EnableScript("vbscript");
> > > > > > > > _SECTION_BEGIN("Pos Size");
> > > > > > > >
> > > > > > > > InvokePosSize = ParamToggle("Activate Position Size?",
> > > > &g t; > ; > "No|Yes", 0 );
> > > > > > > >
> > > > > > > > if(InvokePosSize == True)
> > > > > > > > {
> > > > > > > >
> > > > > > > >
> > > > > > > > }
> > > > > > > > else
> > > > > > > > {
> > > > > > > > Plot(C, "close", colorBlue, styleThick);
> > > > > > > > }
> > > > > > > >
> > > > > > > > _SECTION_END();
> > > > > > > >
> > > > > > > > ------------------------
> > > > > > > >
> > > > > > > > When I execute this, it straightaway goes to VB
> > > > > Inputboxes without
> > > > > > > > checking for the InvokePosPram even when it is set to
> > > > > "NO". Moreover
> > > > > > > > it goes into a loop. everytime I click the mouse on
> > > > > this pane. Is
> > > > > > > > there any way to c ontrol the flow so that the  
> vbscript will
> > > > > > > be called
> > > > > > > > only when positionsize will be activated with  
> ParamToggle?
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
>


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/