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/
Should not it happen every pass through that "newbar" is created. because the
time keeps on changing during every pass through.
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
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.
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
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
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
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