loop through open trades, check lo, do what you want:

Posts made by jstap
-
RE: Filter by Lot Sizeposted in General Discussions
-
RE: save multiple closed trade profit in one variableposted in Questions & Answers
Set variable to 0 - for each closed trade/position - add each looped trade to the variable. This will get the sum of all closed trades in the variable.
-
RE: Why won't my Builder pan, in both Edge and Chrome?posted in Questions & Answers
ctrl (+) (-) will change screen size, but not on meta trader
-
RE: SCALE AND MARTINGALE AT THE SAME TIMEposted in Questions & Answers
The process is the same for both, place a trade - pips away (-) for martingale - place order --- pips away (+) for continuation trade - place otder
-
RE: highest and lowest price between two time stampsposted in Questions & Answers
You can add this into the block time stamp box: TimeToString(xxxxxxxxx,TIME_DATE | TIME_MINUTES);
-
RE: Lot size limit.posted in Questions & Answers
Did not mention too bigger lot, That is your choice, just mentioned how to limit it when you trade.
-
RE: Lot size limit.posted in Questions & Answers
@Chen-7 I guess you mean if you click the place trade button in the top left... if so you will need to create buttons that place a trade when clicked buy using FX blocks.
-
RE: EA won't backtest but works liveposted in Questions & Answers
Backtest, although close on MT5 compared to MT4 it is still a simulated environment, is likely your custom indicator, you have to remove to test what happens...
-
RE: FULL STOP - FFS stop trying to "code" the news!!!posted in General Discussions
FFS, @gooseman Umm, you show your lack of understanding... the news can have a big impact, it is fractal, and on the daily chart often a minimal impact, but look at the same chart on the 5min and it can have a big impact, why do you think funded accounts have rules to news trading...
-
RE: **EA Trading Logic: One Trade Per 4H Candle (No Re-entry After Take Profit)posted in Questions & Answers
@RICHAGRIPPA Start a new question for this and say what you want yore EA to do...
-
RE: how to integrate an external EA in fx dreema made EA?posted in Questions & Answers
@sktsec @bacharchoura1 I disagree with that FX has a lot of very useful blocks, AI can be smart but sometimes too smart. Mixing custom code blocks, indicators, FX blocks can all work together well. This picture shows the amount of AI generated, checked and perfected blocks I am currently using.

-
RE: **EA Trading Logic: One Trade Per 4H Candle (No Re-entry After Take Profit)posted in Questions & Answers
This depends on what you mean by re-entry, if you mean wait for a new signal, you will need to set a flag for the signal.
-
RE: Converting to fxDreemaposted in General Discussions
Probably but I do not quite understand what you need?
-
RE: Condition between 01:00-09:00posted in Questions & Answers
Use condition block(s), put in your price level:

-
RE: Library Studioposted in Questions & Answers
Paste your cone here and say where you have added it, I'll have a look
-
RE: Expert: EA Logic for Multi-Order Candle Tradingposted in Questions & Answers
I showed you how to achieve this... don't repeat questions just say you don't understand or something:
-
RE: Library Studioposted in Questions & Answers
how is your global variable set? If it's not it can't return true.
