assemble an inverse input grid every 100 pips
-
Good afternoon.
I would like to know how to build a grid as follows.
After a purchase entry, every 100 positive points it generates a pending sale entry... -
@mateus_f If I understand it correctly this is what you want:
- A buy is open.
- Then several pending sells are programmed at 100, 200, 300.. pips distance from that buy's open price.
- All those pending sells are programmed ABOVE the buy's open price.
Is that correct?
-
1 - A buy is open.
R: Yes
2 -Then several pending sells are programmed at 100, 200, 300.. pips distance from that buy's open price.
R: no, it will only open sales if the market is in favor every 100 points.
Example: Makes the entry with BUY, the market goes up 150 points in favor, then opens a pending sale, if the market goes up to 220 points, it will open another pending sale of 200 points...
3- All those pending sells are programmed ABOVE the buy's open price.
R: yes, as long as it respects the second option there is to make pending entries of the same points in favor of the entry. -
@mateus_f Ok. And how many levels are supposed to be? Are they input parameters maybe? And is that buy trade opened manually or automatically?
-
1 - And how many levels are supposed to be?
R: this is easy to do because I go for a constant and where to add the levels
2 - And is that buy trade opened manually or automatically?
R: And is that buy trade opened manually or automatically?The idea is even simple.
I put the EA on the chart, it will automatically create 02 pending trades a buy and a sell.
If the market goes to BUY, the pending one is deleted.
Then the GRID starts.
for every 100 points that rise in favor, the robot leaves a pending SELL order, that is, a surplus of each gain.
I remember that 100 points and an idea I will have a constant where I can define how many points I want.in short: it moves in favor of the entry and at the same time it leaves pending orders on the contrary, the idea is that when the market comes back it will already come back winning over the pending orders.
-
@mateus_f Then you can begin with this idea:
https://fxdreema.com/shared/w66wG7fed
You can customize it as you suggested.
-
Thank you very much @l-andorrà , I will test it .. grateful for the help
-
@mateus_f You're welcome.