Add a shared link of what you have done, you can use the last trade SL in a loop to set the new trade SL.
Posts made by jstap
-
RE: Pyramiding/Stacking Trades anyone done this on FXDreema?posted in Questions & Answers
-
RE: how to have EXACT opening price with pending order???sposted in Questions & Answers
You can't, this is just slippage but a different broker might be less
-
RE: How to set dropdowns for inputsposted in Questions & Answers
The enum value has to be at the top of the constants list.
-
RE: Candleposted in Questions & Answers
There are yellow blocks called bull candle and bear candle, use these to achieve this.
-
RE: How to set dropdowns for inputsposted in Questions & Answers
You will see how to achieve in here: https://fxdreema.com/shared/NTqgifSme
-
RE: Pyramiding/Stacking Trades anyone done this on FXDreema?posted in Questions & Answers
Yes but you need to give more information as to what you are trying to achieve
-
RE: Can an executed order's magic number be used for recovery after an EA crashes?posted in Questions & Answers
Yes, you will need to create a separate variable for each chart, then use something like a condition to decide which variable to check and change.
-
RE: close and change variableposted in Questions & Answers
All I can say is this is what I do and it works for me, try recreating the project from scratch, add a shared link instead of pictures, this way everything can be look at
-
RE: close and change variableposted in Questions & Answers
Undeclared identifier means you haven't created the variable first, go onto the blue variables tab in the top left, and add all names
-
RE: Stop all Trading for the dayposted in Questions & Answers
Test and see what's working, add a shared link to look at and explain any problems.
-
RE: EA NOT WORKING ON REAL OR DEMO AS IT WORKS ON TESTERposted in Bug Reports
Never had this, add a shared link to see how it's set up.
-
RE: HELLO BEEN HAVING A PROBLEM WITH THE BUY PENDING ON MT5posted in Bug Reports
Project screen-projects-create a shared link-open in web page-copy address bar and past here
-
RE: EA NOT WORKING ON REAL OR DEMO AS IT WORKS ON TESTERposted in Bug Reports
I mean back test settings, which may not work in a live environment, depending on broker settings.
-
RE: HELLO BEEN HAVING A PROBLEM WITH THE BUY PENDING ON MT5posted in Bug Reports
Ok, but what are you struggling to get working? If you add a shared link then problems can be seen.
-
RE: Stop all Trading for the dayposted in Questions & Answers
You can use flags, you can turn blocks on/off, or you can put check blocks above buy/sell. But you need to make sure block IDs match with what you are doing:

-
RE: indicator windowposted in Questions & Answers
Yes if you can get the indicator values to work with, all values would need to use the same chart values, in other words, you cannot compare the main chart value vs the indicator chart value, you can though use something happening on one chart, and something happening on another.
-
RE: Can an executed order's magic number be used for recovery after an EA crashes?posted in Questions & Answers
Global variables (terminal variables) are values saved in a file in the terminal folder, push fn f3 to see a window of variables used in your platform. In output you have a yellow block that will save this from the name you chose, you can then get this value using most blocks, use in the same way as normal variables, but the backtest will change like in live, so you may need to use an if testing block to limit when it can be changed
-
RE: Can an executed order's magic number be used for recovery after an EA crashes?posted in Questions & Answers
Save things in a terminal variable (global variable), this way any saved values stay is terminal is closed
-
RE: EA NOT WORKING ON REAL OR DEMO AS IT WORKS ON TESTERposted in Bug Reports
Not without a share link, but this is common due to settings
-
RE: HAVING PROBLEM WITH CHECK DISTANCE MT5posted in Bug Reports
Without a shared link it is impossible to say, this block is designed to work with trade prices, you may be better off using a condition, price 1 is < or > price 2 adjusted to the distance you need