you would have to loop through the orders and set the tp based on a price not on a percentage, means you have to calculated the price...
Posts made by bk7
-
RE: TP hit.. move stop loss to break evenposted in Questions & Answers
-
RE: Use the buffers of this indicator, can you help me?posted in Questions & Answers
@fabiobioware
this version of the indicator doesn't make much sense.. the arrow comes after 2 completed candles so on the open of the third candle... -
RE: how to automatize a strategyposted in Questions & Answers
i might create a logic for this project, not sure if it is profitable and worth the time... if more people are interested i might go for it...
edit:
is this really making money? i see some breakeven many sl and 2 tp3 hits... or am i missing something of this strategy?

-
RE: Search object in this candleposted in Questions & Answers
@jsauter86 @l-andorrà @Stelgar
you can look for the candle id
first you have to check the numbering logic of the objects (Z to A or A to Z) for the latest.
next step is that you pick the name of the current in loop picked object and store it to a variable
then get the candle id for that object and store it to another variable
check if the candle id is below 2 -
RE: how to automatize a strategyposted in Questions & Answers
@joele1989
did you do what i recommended you? -
RE: how to automatize a strategyposted in Questions & Answers
then you should build your ea and backtest it
-
RE: how to automatize a strategyposted in Questions & Answers
@joele1989
no non sono italiano ^^anyways what is the winrate on this system? must be around 85-90% otherwise i dont see you make money with this...
-
RE: close all orders when profit reaches a positive valueposted in Questions & Answers
@niko
you can use it either with orders which are openend by the expert advisor (depending on magic number) or any existing orders (independent of magic number)yes also with x value
-
RE: how to automatize a strategyposted in Questions & Answers
look at the objects on your chart, the naming and the color coding, this should help you solve this issue
-
RE: PLS HELP ME BUILD THIS CONDITION BLOCK. IF EITHER CANDLE ID 1 OR 3 OR 5 OR 7 OR 9 IS A BULL CANDLE SELL. THANKS!.posted in Questions & Answers
That doesn’t make sense to me like when to buy which size which tp which sl and so on ...
-
RE: Double Cross Moving Averageposted in Questions & Answers
@gtoat777
if current cross is above
check if at candle4 was a cross below
if not check if candle 5 was a cross below
if any is true you can proceed -
RE: EA trade groupposted in Questions & Answers
you just need 2 blocks
- if position
- break even point
-
RE: How to close trade by EMA X CANDLE closeposted in Questions & Answers
you need to make something like this:
if position buy
block 28
block 30if position sell
block 29
block 31 -
RE: Move SL once a certain % of TP is reachedposted in Questions & Answers
hahah don't worry, its not that complicated, but it actually does what it should do.
However i think it is a bit slow but working anyways... -
RE: how can out every number ?posted in Questions & Answers
@moon
no i asked about how to determine the length of the numbers. your example has a lenght of 6 symbols, but that can be different from symbol to symbol.
that would be the first step... -
RE: how can out every number ?posted in Questions & Answers
as i said before you have to decide on how to determine the amount of numbers first. then i can show you a quick example...