pending order
-
hello I need a straight. To place a pending order (buy and sell) on the maximum and minimum x candle and the trade start at x time. At the same time one the same order but with each hour closing and reopening if the price is in the same range (max min x candle) is possible?
i think i need two EA for this because if the price touch my fisrt pending and second pending they automatically close toghether after x hour -
I don't really understand what you are asking for, but try this: https://fxdreema.com/shared/w1uapMWJc
-
thank you for your suggest i resolve it! but if I wanted to increase the lot every order?
-
It depends. There are Money Management options in Buy now/Sell now. Multiple pending orders with different parameters can be made in Buy pending orders in grid/Sell pending orders in grid. And other ways too. No single answer.
-
In the picture I put the idea of ​​EA. but I have trouble placing pending orders once the trade are open at the same time (buy and sell) and their relative increase for example: no trade do sell(lot 0.01); if trade sell, do buystop 0.02 if trade buy / sell? and I can not find the condition for the take profit at a minimal profit
https://i.ytimg.com/vi/ZgEB_SRC9iw/hqdefault.jpg the link of image
-
What is this strange sequence of lots - 1, 2, 2, 3, 4, 5, 7. It doesn't look like Fibonacci or other system, it looks custom. Well, there is an option for custom sequence. But I would try to work only with trades. Mixing pending orders and trades and this custom MM... I don't know
-
Is a hedging strategy. otherwise is it possible to create an indicator that traces 2 lines, for example at a distance between each other of 50 pip?
when the price touches the resistance line, it should start up a buy order and at the same time a pending sell order but on the support line which is to be found 50 pip beneath .
once the sell pending order has become active, another pending buy order should be created on the former resistance line increasing each time the lots by, for example 0,02.The sequence shown in the photo I sent you was just an example I found on the web, what I need can certainly be 1, 2, 3, 4, 5, 6
-
Oh no, I hate hedging systems. I said this so many times, I think that these are just complicated versions of Martingale. Hard to build, hard to maintain, hard to see what is going on. Even I have troubles to make recursive hedging strategy.
Long time ago I made this example post/11067, but honestly, i want to forget that the word "hedging"
-
yes it's so hard but this strategy work very well. In your example i think you mean this https://fxdreema.com/shared/rShdtBC4e i have an error when compile the code with mt4 editor https://s16.postimg.org/c2qm3t33l/2016_11_13.png
but create an indicator that draw me the 2 lines I believe that I can greatly simplify the code because the condition would be only if the price is equal to a line (resistance or support) - do something. But to create a simple indicator like this I don't know where to start
-
This code is from another project in which block 6 is "Condition" block
