I'm not sure what you mean, is range b time filter not controlling when this is allowed to happen?
Posts made by jstap
-
RE: My Breakout Strategy doesn`t buy at specific momentposted in Questions & Answers
-
RE: select open order farthest awayposted in Questions & Answers
This should do it, but you'll have to switch the flag on/off when you want this to be closing a trade. This is the logic it's using:
checks a flag to see if starting the loop trees is allowed - takes the open price of the latest trade and works out it's distance in points from the current ask price - sets the flag to false to stop a new tick from starting the loops again - loops through every running trade, gets it's distance from the ask price and if it's larger than last saved it saves it into a variable - starts the last loop and compares all trade distance until it finds the biggest, closes the trade and sets the flag to true (this starts the loops again so will close the next farthest away trade, so ensure flags are switched on/off as necessary).
Test and let me know if it's doing as required, where it closes you can replace with whatever you want to do with the selected trade: https://fxdreema.com/shared/HR92Ux2Nd
-
RE: Rusume Tradeposted in Questions & Answers
I showed you in another post how to turn back on on tick, add then test to see what is/isn't working
-
RE: My Breakout Strategy doesn`t buy at specific momentposted in Questions & Answers
You need to say if something is or isn't working, when building EA's you're best to test, get one thing working then add another and test, for now only have 1 condition, and once working add the other
-
RE: Pending trades deleted when price is hitposted in Questions & Answers
if it's placing the pending then your lot is probably too big according to your broker so they close it as soon as it activates
-
RE: باز کردن فقط یک پوزیشن در یک محدوده ی قیمتposted in Questions & Answers
@shervin1366 Start a new question for this rather than hijack someone else's. You have 23 options, start a loop, or use more than 1 buy/sell block.
-
RE: Pips away from open priceposted in Questions & Answers
This is old, start a new question, add a shared link and say what seems to not be working...
-
RE: Rusume Tradeposted in Questions & Answers
Add a shared link, what closed the trade and what conditions lead to the replace?
-
RE: My Breakout Strategy doesn`t buy at specific momentposted in Questions & Answers
I do not know why you are buying from the flag tree, the sole point in this is so your bot knows when it is in or out of your a range time:

-
RE: Re-opening trade the next dayposted in Questions & Answers
Everything I have showed you here and in PM works, so say what is not working and add your latest link to check why.
-
RE: Re-opening trade the next dayposted in Questions & Answers
You can do that or just leave on daily bar, this way it activates when the 1st tick of the day arrives
-
RE: Re-opening trade the next dayposted in Questions & Answers
Adds a shared link to see what you have done/are trying to do
-
RE: My Breakout Strategy doesn`t buy at specific momentposted in Questions & Answers
Add a shared link not pictures, but one of those flags should be connected to yellow, this means in time = false, out of time = true
-
RE: My Breakout Strategy doesn`t buy at specific momentposted in Questions & Answers
You will have to check block internals and set to how you want: https://fxdreema.com/shared/VsuCDzSI
-
RE: How To Code Proper Heikin Ashi Candlesposted in Questions & Answers
You can do that in a condition block, if a bull candle then the open is lower than the close, I'm not sure if the values returned will be correct though, and you might be better to use custom code.

-
RE: My Breakout Strategy doesn`t buy at specific momentposted in Questions & Answers
Set up a couple of trees, 1 that turns a flag on or off if the first range time is completed, then a second that checks the first flag, then checks the second range time, then your condition before buying.

