PureBytes Links
Trading Reference Links
|
Hi Yuki,
There is no relation between arrows and ind. builder graph.
So follow the steps:
1] Optimize
2] In optimization formula replace the first 10 with the optimum
result
X1=Optimize("X1",10,10,20,1);
Dbuy=Optimize("Dbuy",10,0,20,1);
Dsell=Optimize("Dsell",10,0,20,1);
ie, if you find X1=9, Dbuy=5 and Dsell=12 then the above lines should
be
X1=Optimize("X1",9,10,20,1);
Dbuy=Optimize("Dbuy",5,0,20,1);
Dsell=Optimize("Dsell",12,0,20,1);
Now, without leaving AA, scan.
This is the way to get the arrows.
(Read Optimize instructions)
Then, in indicator builder formula, replace in X1, Dbuy and Dsell the
proper values and Apply.
As for the white line is from
Graph8=AVRSI;
Graph8Style=8;
Graph8BarColor=2;
and represents the average RSI value.
D. T.
--- In amibroker@xxxx, Yuki Taga <yukitaga@xxxx> wrote:
> Hi Dimitris,
>
> Wednesday, October 10, 2001, 1:23:04 AM, you wrote:
>
> I seem to be unable to duplicate your results, almost surely because
> I am still so clumsy with this program.
>
> I can get the graph, as you can see from the attached gif. But my
> buy and sell arrows do not seem to line up with crosses of the top
> and bottom of the channel, as yours do. Can you please enlighten
> this newbie?
>
> Also, can you tell me what the white line is doing in the channel?
>
> Best,
>
> Yuki
>
> mailto:yukitaga@x...
>
>
> DT> So, in Automatic Analysis paste the
>
> DT> /*Modified RSI variable buy-sell levels*/
> DT> X1=Optimize("X1",10,10,20,1);
> DT> Dbuy=Optimize("Dbuy",10,0,20,1);
> DT> Dsell=Optimize("Dsell",10,0,20,1);
> DT> s1=MA(RSI(X1),3);
> DT> AVRSI=MA(s1,50);
> DT> Buy = Cross( s1,AVRSI-DBuy);
> DT> Sell = Cross( AVRSI+Dsell,s1);
>
> DT> Optimize a current stock for All quotations.
>
> DT> In indicator Builder, paste the following formula,
> DT> replacing X1, Dbuy, Dsell with the results of optimization.
>
> DT> /*Modified RSI variable buy-sell levels Graph*/
> DT> X1=20;
> DT> Dbuy=3;
> DT> Dsell=11;
> DT> MaxGraph=12;
> DT> s1=MA(RSI(X1),3);
> DT> Graph0=s1;
> DT> AVRSI=MA(s1,50);
> DT> Graph9=AVRSI-Dbuy;
> DT> Graph10=AVRSI+Dsell;
> DT> Graph8=AVRSI;
> DT> Graph8Style=8;
> DT> Graph8BarColor=2;
> DT> Graph9Style=Graph10Style=8;
> DT> Graph9BarColor=Graph10BarColor=1;
>
> DT> Try it. For some stocks it is nice.
> DT> Dimitris Tsokakis
|