Read the following thread, and pay particular attention to Tomasz's replies. See if that helps.
http://finance.groups.yahoo.com/group/amibroker/message/133585 Mike --- In [email protected], moha...@... wrote: > > > How can I plot predicted values in the future? I am getting syntax > errors on the following. > > Thanks > > for( i = 1; i < BarCount+4; i++ ) > { > FV[ i ] = C[ i ]; > if ( i = BarCount + 1 ) FV[ i ] = C[BarCount] + ( C[ BarCount ] - C > [BarCount-1 ]); > if ( i = BarCount + 2 ) FV[ i ] = FV[ BarCount ] + 2*( C[ BarCount ] - > C [BarCount-1 ]); > if ( i = BarCount + 3 ) FV[ i ] = FV[ BarCount +1 ] + 2*( C[ BarCount ] > - C [BarCount-1 ]); > > } > > > > > <http://us.ard.yahoo.com/SIG=13octqses/M=493064.12016308.12445700.8674 578/D=groups/S=1705632198:NC/Y=YAHOO/EXP=1233788898/L=/B=qXXKRUPDhC4- /J=1233781698536070/A=3848643/R=0/SIG=131q47hek/*http://searchmarketin g.yahoo.com/arp/srchv2.php? o=US2005&cmp=Yahoo&ctv=Groups4&s=Y&s2=&s3=&b=50> >
