What don't you understand? after all your place a trade conditions, use a once per bar (candle) set to how you want, then place the trade you want placed...
Best posts made by jstap
-
RE: How to Allow Only One Order Per 4H Candleposted in Questions & Answers
-
RE: Library Studioposted in Questions & Answers
the calculatedlot that is saved into the calculatedlot variable in the function is then used from the variable in the project EA
-
RE: Library Studioposted in Questions & Answers
how is your global variable set? If it's not it can't return true.
-
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: 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: 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: 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: Códigos antiguos fxdreemaposted in Questions & Answers
you have 2 options, 1 is download and edit the mq4 file (a lot of code to find and change) and would need changing with every export, 2 is to add and use a custom code block will stay in your project.
-
RE: how to fix an EA that generates double lotsposted in Questions & Answers
Looks ok, but what tree is causing the extra trade? Switch blocks off and test to see where the problem is...
-
RE: New here and have a simple questionposted in Questions & Answers
that is quite simple... start with... no position block - condition block - buy/sell block. Watch on backtest then you can add to the condition...
-
RE: How do I find the highest and lowest levels for each Monday?posted in Questions & Answers
I would filter each Tuesday, then get the candle ID 1 high and low and save to a variable that I change on the following Tuesday.
-
RE: “Manual Trade” sizingposted in Questions & Answers
Button is the only way I know, you could place a pending order that places the new and then deletes, but this is not as simple as a live trade. This is how to use a button on tick: https://fxdreema.com/shared/yfqIa8vMd
-
RE: Drop List Object on chartposted in Questions & Answers
It is possible, but not simple, in FX you would need to use custom code. a button that flicked through and displayed the next option, that then changed a variable depending on the button place would be easiest. These are 2 links of how you could achieve, the variable can be any set to the action you want to complete. There are various ways to do it.
MT4: https://fxdreema.com/shared/4GPgbWdAb
MT5: https://fxdreema.com/shared/6iMlLoEkb -
RE: Why MT5 EA correct logic but is not workingposted in Questions & Answers
Any calculations that say depending on Sl only work is a SL is set.
-
RE: Can someone explain how to incorporate flags into a project 'posted in Questions & Answers
You could so if "this" happens set a flag so "that" happens... probably easier to use the on trade tab... trade closed check why... do "that"... if you say what you want to happen I will tell you the blocks to use.
-
RE: For each new position modify last position stop lossposted in Questions & Answers
As I said do this on the on trade tab, this way things will only change at trade open time, then use a for each block to select only the trade(s) you want to change
-
RE: For each new position modify last position stop lossposted in Questions & Answers
on trade tab... trade opened... for each trade/order... modify stop... move the last opened SL where you want it. In the for each trade/order blocks you can select each by missing trades you don't want to change
-
RE: Why MT5 EA correct logic but is not workingposted in Questions & Answers
I agree it is different, the used logic is more, but on FX which is why it is good is not different: missing a SL MT4 or MT5 works the same.