Check distance pending order
-
Hello dreemas
I tried a new projec but its not working. I need your expertise. I its a very simple strategy.

- When the MA 100 is crossing above MA 50 it will trigger
- The Check distance will be 400+ pips above the the trigger (number 1).
3 after it reach 400+ pips the pending order will be make. The sell will be make at the same point as number one.
For some reason its not working. could some one take a look at my project: https://fxdreema.com/shared/dEjyAtb9e
-
In your Check Distance block you have Candle ID as 1...This means it is only checking the distance from the last previous candle*
-
@Morpheus_0 thank you for your replay. I have triedto set ID 0 and its still doesnt work. Dont know what I do wrong. Does this tree even works?
-
How can I manually select the desired area for the hedge? Then I open the first purchase or sale with the desired volume manually, and the hedge robot operates in the selected area. It means manual entry.
-
@hadi_shah in other words. its impossible to make this kind of strategy? I dont really understand it
-
@William-1 - What you could try is to draw an Object on the chart at the MA cross and then get the EA to count 40 pips above (or below) that Object....(?)
-
@Morpheus_0 when the MA 100 cross above the MA 50 at the closing price. At the next closing price it need to count
400 + pips above to check. if the condition is correct a pending order wil be make at the price at the cross ma . The problem is making a check to 400+ pips above the price. -
@Morpheus_0 said in Check distance pending order:
@William-1 - What you could try is to draw an Object on the chart at the MA cross and then get the EA to count 40 pips above (or below) that Object....(?)
^^^
-
@Morpheus_0 im not familiar with drawing a object. Could you tell me how its done
-
@William-1 - I would say like this....>>

-
tnx lot my friend
-
@Morpheus_0 I dont know what i did wrong. But after the crossing it didnt offset -400 pips. I haveset my adjust "-40 pips" or "-400 pips" and it still doesnt work.
As you can see at picture its only make a arrow on thecrossing.

projects https://fxdreema.com/shared/wtahcZ7C
After the MA 100 is crossing above the MA 50. That closing price need to make a check point -400pips.
-
@William-1 try this way, the horizontal line will be draw on the cross point, is that what you want?


-
Its not about the line. its more about offset price from the cross ma. After the pending order will br make
-
@William-1 try it as i shows you, let me know
-
@William-1 - Give the Arrow a name and then try some different things with this block....>>

-
i have tried it all an still doesnt work. So if i understand it correctly the draw arrow or line. it makes a checkpoint. from that moment it i use +400 pips with market propeties to wait until it reach above the first draw block.
I tried to make a second draw block to comfirm it is +400 pips from the first object. also that doesnt work. I was using object for the chart but dont know if its worling on the draw block
-
@William-1 please, check this
-
@ambrogio thanks for the link. I have tried it and i dont understand it. this is the result. BTw i have change the line to a arrow.

The first condition make a arrow after the crossing. the second condition makes a arrow at +400 pips above the first arrow price (cirkel) and make a pending order to trade at the price of the first arrow.
I have tried market propeties and candle. With candle doesnt works. With market propeties the second arrow keeps moving after the first arrow was set.
What does the market propeties does?
-
@William-1 i can see from your screenshot that the second arrow is not at +400 pips, but at -400 pips.
So we are below the first arrow and not above. We are misunderstanding about this.