[amibroker] Re: strategy on chart

2009-02-18 Thread noah.bender
Does anyone know how to show the trade price and quantity on the chart?? Not just the arrows?? thanks noah --- In amibroker@yahoogroups.com, "Mike" wrote: > > Write your script, run it through a backtest, then show current trade > arrows via the context menu: > > http://www.amibroker.com/

[amibroker] Re: trying to understand this code

2009-04-29 Thread noah.bender
Should not it happen every pass through that "newbar" is created. because the time keeps on changing during every pass through.

[amibroker] Re: initializing static variables.

2009-05-04 Thread noah.bender
When using the IB controller, is there a more appropriate situation to use staticvar vs staticvartext. can u give an example please when each would be appropriate? thanks --- In amibroker@yahoogroups.com, zeek ing wrote: > > My questions is regarding static variables. > When using them for I

[amibroker] Re: buy only if current position is zero

2009-05-19 Thread noah.bender
That is true for the backtester but on the chart the code shows a 1 for buy and therefore plots an arrow. bc my code says if buy plot.. Now i know i have to write a loop to prevent a buy from showing up, but I am not sure how meaning a loop that will prevent a sell if I am in a buy.

[amibroker] Re: referencing code

2009-05-22 Thread noah.bender
i think i found the answer to my question by using a loop. If I am a correct when using a loop as long as the variable is with in the loop as long as the loop is running then it will not use value of the variable from out side the loop. for example shorton =0 ; for (i=o..) ( code referenc

[amibroker] Re: referencing code

2009-05-24 Thread noah.bender
in > change the value. > > You might want to post a complete sample and ask for help. It doesn't have to > be your holy grail system, just reproduce the problem in a simplified script > and post that. > > Mike > > --- In amibroker@yahoogroups.com, "noah.b

[amibroker] Re: referencing code

2009-05-24 Thread noah.bender
ss you again > change the value. > > You might want to post a complete sample and ask for help. It doesn't have to > be your holy grail system, just reproduce the problem in a simplified script > and post that. > > Mike > > --- In amibroker@yahoogroups.com, &q

[amibroker] Re: referencing code

2009-05-26 Thread noah.bender
helpful. The code that you have provided > so far does not show why you can't just move the Buy assignmant below the > code that sets shorton. > > Mike > > --- In amibroker@yahoogroups.com, "noah.bender" wrote: > > > > my theory was initially to ref