Save it with a modify block under buy/sell, or get it when you need it with pink blocks.
Best posts made by jstap
-
RE: Store Value Of Last SL into a variable.posted in Questions & Answers
-
RE: Global Variableposted in Questions & Answers
You have the right idea, save and read from a terminal(global) variable
-
RE: Does FXDREEMA have a marketplace for developed EA like mql market?posted in Questions & Answers
Mql5 is all I know, but what you buy is upon you own analysis, there is nothing to do with FX forums
-
RE: Object is not created on live chart mt5posted in Questions & Answers
@Saidul1516 as ambrogio has said share the link so people can see what's wrong
-
RE: Does FXDREEMA have a marketplace for developed EA like mql market?posted in Questions & Answers
If you find a developer, but if rent they will still use MQL5 web site
-
RE: Monitoring PnL of specific positions.posted in Questions & Answers
every n trades empty, above set variable to 0, in formula block underneath take variable, save currently loaded trade profit back into the same variable from a loop value
-
RE: hi any assist please im struggling with my conceptposted in Questions & Answers
The limited information does not help, what is wrong with your project...
-
RE: Problem closing trades with SL several pips below the set SLposted in Questions & Answers
In live position buy/sell to close are dependant on what the broker can buy/sell the position to someone else, so some brokers will have a bigger pool to buy/sell to, timing could affect the pool, so it is luck of the draw mostly.
-
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: HOW TO USE MOVING AVARAGE OF ACCUMLATION DISTRIBUTION ?posted in Questions & Answers
No you unfortunately can't use another indicates data on FX with the standard blocks, you would have to get custom code to do it.
-
RE: How to move the original stop loss position to the new stop loss levelposted in Questions & Answers
This is quite easy to set up, start and add a shared link test project to see what you have done/are trying to do.
-
RE: Recovery Trade/s for closed losing tradesposted in Questions & Answers
Attack this 1 bit at a time, what is determining the pull back to know where the stop is moved to?
-
RE: Converting trading code made from ChatGTPposted in Questions & Answers
use custom code, some bits will need to be deleted or put on the correct tab, oninit, ontimer, ontick etc
-
RE: buying after every 250 pip lossposted in Questions & Answers
Just add this under for each and above your buy block.

-
RE: candle typeposted in Questions & Answers
If you select indicator rather than candle you have many heaikin ashi options
-
RE: First Candle of the Dayposted in Questions & Answers
Just say what doesn't seem to be working, what I have said to you has previously been tested, add the candle line so you can see what's happening, and test on 5 minute chart.
-
RE: How to create your own custom blocks step by step??posted in Questions & Answers
It will be under the custom tab.

