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

[amibroker] Re: Editing many Include files



PureBytes Links

Trading Reference Links

Bruce,

What's strange is, when I change code in my main AFL file (which is
'insert linked' into my charts) in NotePad++, and then save that code,
the changes don't seem to be reflected in my charts no matter what I
do.... even if I hit f5, wait for new bars, click into the charts
etc..etc...

What's even stranger is, if I then click 'edit formula' via the charts
bringing up the AB editor, I can see the change I made in NotePad++
relfected there... So I know the change is being saved to the file.

Very strange... any ideas...?

--- In amibroker@xxxxxxxxxxxxxxx, "bruce1r" <brucer@xxx> wrote:
>
> Sidartha, Dennis -
> 
> I think that you might be dancing around a fairly simple issue.  Allow
> me one quick comment, then I'll suggest a workaround.
> 
> I agree that Notepad++ can be a useful tool for SOME Amibroker work -
> certainly for those with programming backgrounds.  BUT, You will run
> into several things in any outboard editor (Notepad++, UltraEdit,
> etc.) that you will have to work around or accept, though.  Integrated
> editors like the AFL editor, have knowledge of system state, commands,
> syntax, etc.
> 
> It is one of those "things" that I think that you are debating in this
> thread.  When The AFL editor does a save, Amibroker knows to do a
> Refresh of the screen and reflect the changes.
> 
> Several actions in Amibroker do a refresh - a new incoming bar, a
> click on the screen, etc.  An outboard editor is going to have to do
> it manually - if you feel that it is worth the trouble.  The AB
> Refresh All automation call is way too costly to use, and Tomasz has
> detailed his reasons for not providing a Refresh automation call.
> 
> So, if you want to work around it, you might do something that is
> sometimes done in Windows when there are not other options.  Send it a
> key - in this case {F5} - refresh key.  Lots of ways to do this -
> AutoIt, JScript, VBScript, etc.  In NotePad++, you would tie the
> script to an external run command with a shortcut key.  Probably that
> alone is not worth the effort, but you might do script for Scan,
> Backtest, etc.
> 
> But then you might want toolbar buttons to go with it - which NP++
> doesn't have yet.
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "sidhartha70" <sidhartha70@> wrote:
> >
> > No... insert linked is an AB thing. Rather than a drag & drop copy, it
> > uses the original... and any changes made are saved to the original.
> > 
> > Weird that we are seeing different behaviour Dennis. I'll try again.
> > 
> > --- In amibroker@xxxxxxxxxxxxxxx, Dennis Brown <see3d@> wrote:
> > >
> > > What are "insert linked"  files?  Is that an NP++ thing?
> > > 
> > > I can edit my main AFL and any of the #include files and they get  
> > > executed.
> > > 
> > > BR,
> > > Dennis
> > > 
> > > On Feb 25, 2009, at 6:31 PM, sidhartha70 wrote:
> > > 
> > > > I'm editing an 'insert linked' file and when I save it, it doesn't
> > > > force execution... which as I say, makes editing 'on the fly'
> > > > difficult using NotePad++....
> > > >
> > > >
> > > > --- In amibroker@xxxxxxxxxxxxxxx, Aron <aron.groups@> wrote:
> > > >>
> > > >> Dennis Brown wrote:
> > > >>> ....just save the file you are editing while it is running in a
> > > > chart, and AB
> > > >>> will start running with the changes right away.  That is how
I do
> > > > all
> > > >>> my AFL edits now with NP++ ....
> > > >> Only if you are editing includes.
> > > >>
> > > >
> > >
> >
>




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

**** 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:
    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/