Blocks for "bidding price"
-
Hi, i'm wondering if anyone could tell me:
the Blocks representing the "bidding price" after i make a "buy" or "sell" order.thank you!
-
What do you mean by "bidding" price?
-
the price of my order of buying or selling.
-
pink block for each trade - many blocks like modify variable, get the price of the trade/order with a loop. If you need more help on how to get, let me know and I'll give you some help.
-
Sorry for my belated reply...
-
Thanks so much for your reply..
my intention was to write something like:"after i make an buying order:
when the current price < open price, set a fixed stop loss.
once the current price exceed the open price and start to make a floating profit, and if the profit reaches X, set the Stop loss as 30% of X. and the stop loss line never goes in opposite direction...and the reversed requirement for an selling order'
i hope to complete that logic in minimal blocks

Appreciated. -
You probably mean trailing stop. Try the Trailing Stop block
-
Trailing stop is the easiest way to achieve this, in the block using a separate tree to the one placing the trade, you can set start in pips from open price so stop doesn't move until price goes in the right direction. Stop is how for behind current price the stop should be, if price retraces the stop will stay in place until it's hit. Step is how often stop should move.
-
Thanks a lot for the reply.
here's an example i am working on:
https://fxdreema.com/shared/kPXXKY46emy intention expression for the "trailing stop" block is:
-
as the current price goes above the open price, and start making profit more than +10000 pips, whenever the current price retrieve back to 30% of any profit more than +10000 pips (ie, +7000 pips) it closes the trade.
-
as the current price goes below the open price, and start losing, whenever it hits -5000 pips, it closes the trade.
however as you can see this block was not working for condition 2, and i do not know any other way to manifest this intention accordingly.
-