Highest and lowest Price Between Time Period
-
Hi, I want to use a time range for the highest and lowest price in that time range e.g. I want the highest and lowest price between 07:00 to 12:00. I used the condition block with market properties and highest price(time period) but what do I put on the right operand.
- I want to use pending stops at the highest and lowest price.
-
Candle Close (Crosses above) Market properties - time period with highest price
Once in a bar
Buy now
-
@Lorenzo97 I replied to your first question in another thread. Please don't duplicate threads.
-
@karthiiy I want to use pending orders
-
@l-andorrà hi buddy but that one is not about pending orders I want EA to place pending orders at the highest and lowest price in that time range can you help.
-
Any Help?
-
@Lorenzo97 You can not use pending order with out an existing order. Because pending order is based on the initial order.
If you put pending order, when high breaks it will place the order. If you put buy now same when high breaks it will place the order . I don't see any difference between buy now and pending order at initial point. I think rest i had told you already.
This is as per my knowledge.
-
@Lorenzo97 then do what he said but use the order block, in the stop loss area use market properties, then lowest price or highest price depending on buy/sell
-
@karthiiy I used pending orders before without initial order on my other EA and it works fine.
On this EA I want Buy stop At the high and Sell Stop at the low of the rage between 07:00 - 12:00 time period. e.g when the market goes up and pas the high it will trigger the buy stop and should delete the sell pending order.
-
Can anyone help with my strategy I will pay you.
-
@Lorenzo97 Your strategy is not complete. You should say about SL , target etc. What if the first day call continues for next day? It will put another buy or sell order when it crosses the second day high / low along with the previous day order?
-
@karthiiy buddy I really appreciate your help I first want to figure out how to make the buy stop and sell stops work in the high and low. Yes It will use SL and TP with trailing stop also when there is a trade running on the next day it should still open new trades on the next day if the conditions are met.
I will share what I got so far on the project I will share the link now. -
@Lorenzo97 Bro, my question is why you want only buy stop and sell stop. Same work will be done by buy now and sell now. What difference it makes? Just curious to know the difference.
-
@Lorenzo97 As per my little knowledge, it is not possible to put but stop and sell stop. Because in condition block we say if tge current candle cross the high/low of certain time range. So when it cross then only it is applicable. Thus it will not put buy or sell stop orders before crossing the high or low.
You know how it worked for me? I kept a few points as buffering. So when it crossed the high, it put the buy stop adding the buffering.
For eg. If high is 8550 and i kept buffering 5 points so my entry is 8560. Current andle when cross 8550 it places buy stop at 8560. And when 8560 is reached then the call is triggered.
-
this is another way of using the pending orders but still not getting what I want. -
Here is what I did so far https://fxdreema.com/shared/OmvNgabEc
-
@Lorenzo97 When I use Once per day it doesn't place any orders and when I remove it,it place orders from the start of the day on every candle
-
@Lorenzo97 first of all, probably your problem is using current candle (0) and not the last candle closed (1)

Then, and the principal reason wich is not taking the pending orders is because this:

Try putting once per bar instead once per day
-
@Uriel-0
Thanks Buddy I did everything you said and it's still place orders everywhere from the start of the day -
@l-andorrà ,@roar , @jstap any help please.