@l-andorrà Hello my friend.
My idea would be to show on the graph only the value that was most negative.
Every time the value is negative and it is a value greater than the previous one, example:
I'm negative at -10 $ to 1 tick ago
On the next tick I was negative at -20 $
So these -20 $ should remain fixed until it is exceeded, for a larger amount, for example -30 $ or -40 $ and so on.
Latest posts made by Ontrade
-
RE: Monitor and display value fluctuations on the graph.posted in Questions & Answers
-
RE: Monitor and display value fluctuations on the graph.posted in Questions & Answers
@l-andorrà I did not get any indicator that provides me with this information.
I thought about doing the following, but I don't know how to do this in the fxdreema blocks.- Record the value of the gain / loss that is fluctuating at all times in a variable.
- Save this value in another variable as an old value.
- Create a condition to compare if the new value is more negative than the old one, if it is, it prints or updates the last value on the screen.
@roar any idea about this?
-
Monitor and display value fluctuations on the graph.posted in Questions & Answers
Hello friends I want to find out what was the highest Drawdown value that my EA reached at all times, but I want this to be displayed in real time when my EA is in backtest or demo and real account.
For example, I have eurusd, usdchf and nzduse negative at -11 $ and some seconds it is negative at 20 $ so I want my EA to display a message saying on the graph.
The maximum amount your account is negative is $ 20
The same I would like to do for earnings as well. -
RE: Do not use take profit, use a profit target of 2 $ for all assets.posted in Questions & Answers
thanks my friend, work fine now for me.
-
Do not use take profit, use a profit target of 2 $ for all assets.posted in Questions & Answers
My EA opens several orders because it works with hedge (martingale) for several pairs. EURUSD, USDCHF, USDJPY and others.
I would like the take profit of the first order to be closed only if it reaches a profit of 2 $, I do not want to define this in points, I want to define this in $.
As it is multiparing, I am having to create a buy and sell block and manually define points for each asset separately, this makes me create many blocks.Is there any way I can make this happen?
Only the first order 0.01 of a given pair I need to close with 2 $, the orders opened by hedge (martingale) are already working with the average price. -
RE: Creation of virtual balance withdrawal for backtests.posted in Questions & Answers
@roar I am trying to simulate withdrawals, because some robots that I develop end up at the end of the backtest showing that they broke the account, but the backtest just ended and he had open orders and this makes the backtest not end with a positive balance.
Is there any other way around it?
-
RE: Creation of virtual balance withdrawal for backtests.posted in Questions & Answers
@roar Hello my friend,
Can you help me create a condition for him to withdraw 50 $ whenever this profit happens?
example:- I put the EA on the chart.
- He obtained the balance of $ 10,000
- The EA started trading and made a $ 50 profit, then a withdrawal is immediately made, making the Balance $ 10,000 again and this is happening repeatedly.
This is for backtests purposes, I know that compound interest is coming but I want to try to see how many times it would be possible to withdraw a balance of 50 $ with the same strategy.
-
RE: VOLUME VS CANDLE identifyposted in Questions & Answers
@roar My friend, how do I create this condition using the ATR, you taught me using Volume, but ATR seems to be the best option, can you help me?
-
RE: Get better (spread) valuesposted in Questions & Answers
@roar said in Get better (spread) values:
@ontrade yes, just put "set current market for next blocks" before your strategy
is there a specific block for this?