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

[amibroker] Solution to increase/decrease positions?



PureBytes Links

Trading Reference Links

Marek,
thank you for your enthusiastic comments.
It is hard to pass through the flaming circles, the 2nd is always 
smaller...
Or, in other words

//When I will be young again
r=30; r1=20;x=Cum(1);dis=30;
start=LastValue(x)-100;
y=sqrt(r^2-(x-start)^2);yy=-y;
g=sqrt(r1^2-(x-start-dis)^2);gg=-g;
Plot(y,"",colorBlack,8);
Plot(g,"",colorBlack,8);
Plot(yy,"",colorBlack,8);
Plot(gg,"",colorBlack,8);
for(i=start-21;i<start+20;i++)
{x1=i;y1=y[i];x2=x1+dis;y2=g[x2];
Plot(LineArray(x1,y1,x2,y2,0),"",colorRed,1);
x3=i;y3=yy[i];x4=x3+dis;y4=gg[x4];
Plot(LineArray(x3,y3,x4,y4,0),"",colorRed,1);
}

Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, Marek Chlopek <mchlopek@xxxx> wrote:
> Answer: They can together provide Greek football team to the final 
of the 
> European Championships.
> 
> Congratulations Dimitris to you and your Nation! The day of the 
final should 
> be really happy for you.
> 
> Regards,
> -- 
> Marek Chlopek
> mchlopek@xxxx



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

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