Pending buy and sell order
-
Hello FXdreemaas
I was trying something out. But I dont know how to do it.
my plan was like this:

Description:
After the "Candle ID 1" closee, it will automatically but two pending order in "Candle ID 0". 1 for buying and 1 for selling.When its reach 100 pips above the closing price of candle ID 1 it will buy in Candle ID 0 and pending selling order will be cancel.
When its reach 100 pips below the closing price of candle ID 1 it will sell in Candle ID 0 and pending buying order wull be cancel.Note:

In the "condition" there isnt a option for offset or something and there isnt anything to cancel a order when something happen. like; when its buying and cancel the pending order.
Could someone help me?
-
-
@miro1360 Hi , Miro!
Let me ask you one thing: Do we have to use the "For each Pending Order" block before slide it if we're trading only with 1 order at the same time?
And I'm facing some issue with pending order price level change: I'm using "Risk % based on Stop Loss Size". The "Slide Order" block only change the entry price. This issue was posted here .
I need to calculate the lote size again . And keep adjusting the order while the trading condition still valid.
Could you, please, take a look ?
Thank you so much!
-
or dont use the sliding and reopen new pending orders (with your risk%) :

-
@miro1360 first of all thank you for the effort. Second what with the orange colour thing that is fill the box I can't change it. Thirst and last question. Is slide almost the same as offset and risk management
-
https://fxdreema.com/tutorial/builder/constants-and-variables
... slide is working with the same order -
@miro1360 just to be sure. Without the "each pending order and slide" boxes its just trade once per bar in a current time frame?
And second questionn is about the pips:
for confirming:
buy from eur/usd is 1.12056 that means 0.00001 is equal to 1 pip?
buy from eur/gbp is 0.8874 that means 0.0001 is equal to 1 pip?
buy from cad/jpy is 81.14 that means 0.01 is equal to 1 pip? -
yes, ... instead of once per bar you can use also another filters ...
...
... eurusd and eurgbp ... for both 0.0001 is equal to 1 pip ... for cadjpy it is 0.01
... points, pips ... https://www.investopedia.com/ask/answers/032615/what-difference-between-pips-points-and-ticks.aspthe pips size in fxdreema can be set in the settings:

-
@miro1360 I dont really understand the boxes "for each pending order buy and slide". These boxes make a loop cycle. If i just want to trade once in a in a hour? could I delete these two boxes?
-
yes you can delete them
-
@miro1360 for some reason my current project does not what i want. to buy or sell when the rate is 100 more or less then the opening price of the current candle I need to use "slide order"? I though price offset was the same with slide order
I think I am a little confuse whats the difference with slide order and price offset
beside it want i trade 1 time per hour. but sometime it trade 3 time on the same hour. and sometimes it doesnt trade

