Trabajo finalizado
Plazo de ejecución 41 minutos
Hi,
i need two small modifications to be done to a Breakout-Script.
its attached to this post.
The script reads out Information from the London Breakout Indikator (also attached).
I modified the script successfully and created a version to set only long orders and another to set only short orders.
If i want to go long i drag and drop the buy-script to the chart and if i want to go short i drag and drop the sell-script to the chart, then
click OK and my trade is set (screenshot attached).
so far so good.
what i need is a modification of the long-and-short-scripts which calculates and sets the position-size in dependence of my current account balance, risk %
and the distance between the entry-buy and entry-sell line (see picture).
i have the formula to calculate the position size manually but thats to slow. i need the correct position size to be set by the script instead of entering
it manually.
also pending orders that are not activated until a certain time should be canceled. (Option to set Expiry-Time).
template as i use it + acreenshot attached.
detailed screenshot + formula after Agreement.
thnx a lot,
hopefully, fx723.
Han respondido
Ha publicado: 360 artículos, 1 ejemplo