@sibkis If you are a manual trader, you must know that the market is not very apt to yield exorbitant profits in just 2 days.
I strongly recommend that you first of all to develop your robots think first of (how not to lose everything) and (DrawDown Control) with RISK MANAGEMENT.
Each market has its own management, especially when it comes to Xauusd, which is a market that many say (only goes up) breaks many accounts with drops of up to 15000 points when it takes people who leverage positions by surprise. Gold doesn't respect anyone heeheh.
I would start with risk management and then look for a good entry.
Posts made by OntradingX
-
RE: Replicating an EA From Youtube Just to See if Its Possibleposted in Questions & Answers
-
RE: How to draw zig zag top and bottom lines.posted in Questions & Answers
@jstap I've already looked at some examples from Miro, but I haven't found a way to make a condition so that the lines are drawn only on the first top and bottom already formed.
-
How to draw zig zag top and bottom lines.posted in Questions & Answers
Can anyone help me with an example project?
I want from a specific time, let's say at 09:00 to draw a line on the ZIG ZAG H0
draw a line on the ZIG ZAG L0
I only need to draw these 2 lines once on the first H0 E L0 that appears and leave them fixed in the same place all day, I don't want these lines to be redrawn on the other new H0 and L0.

In short, I want to mark the first H0 E L0 of the day with lines.
-
Enable indicator constants so I can optimize.posted in Questions & Answers
0_1644402394585_Support_and_Resistance.mq5
Friends, I want to use this indicator in my robot, but I want their constants to appear so that in fxdreema I can display it in my EA and thus be able to optimize this indicator in my strategy.
Can someone who knows a little about programming please provide this adjustment? -
How can I save a separate previous tick and current price?posted in Questions & Answers
I want to compare the previous price with the current price.
I want to use bid for example to comparelet's say the price is at 1000 now.
on the next tick it drops to 999.
So I want to save like this:
previous tick = 1000
current tick = 999How can I do this continuously?
-
RE: Lot increase proportional to the balance.posted in Questions & Answers
@youngtreptrader
Hello friend, I managed to do it with the help of a formula.
Balance/Batch Ratio=Current Batch
So if I have a balance of 1000$ and I divide it by the proportion I want, for example, every 1000$ I will have a lot of 1.0Thanks for your help as your tip also works very well.
-
RE: Lot increase proportional to the balance.posted in Questions & Answers
@l-andorrà Yes, the batch has to reduce.
When the balance amount increases, the lot increases.
When the balance amount decreases, the lot must decrease.
I call this a proportional-to-balance lot.
Could you give me an example with a project? -
RE: Help TAKE PROFIT GRIDposted in Questions & Answers
Try this for buy, and if work fine use the same for sell.
-
RE: Recording Maximum buy or sell candlestick sizes for a certain period.posted in Questions & Answers
@youngtreptrader The reason is quite simple.
I don't want my entry to be executed if the current candle size-based candle is too close to the size of the largest candlestick record found on the same day.
So if my robot gives a buy trigger it should analyze if the current candle (0) is reaching the maximum size of the candle that was found on the chart of the day.
If this happens, then he rejects the entry because he understands that there is some aggression in the buyer's price and he wants to get rid of this price competition. -
Lot increase proportional to the balance.posted in Questions & Answers
Can anyone give me an example of how to create this calculation and conditions?
Example:
My balance has to be designed to increase the lot every 1500$Up to 3000$ or less then my lot should be 0.01
From 6000$ to 3000$ my lot must be 0.02
From 9000$ to 6000$ my lot must be 0.03
And so on, every 3000$ of difference. -
Recording Maximum buy or sell candlestick sizes for a certain period.posted in Questions & Answers
I want to register the largest size of candles since the first candle of the day and register whenever the size is greater than the size of the past.
Does anyone know how I can do this? -
RE: Check Profit (Average) Plot Lineposted in Questions & Answers
@gu95ckt8

You want to find the average price among all trades on one side, in the case of a buy, here's an example.
This is known as (The Middle of the Street).
But sincerely I believe that average price has to be combined with risk management, without this it is doomed to failure. Every EA has to have efficient risk management and each market has to have a specific and individual one. -
RE: EA trading stops manager.posted in Questions & Answers
@youngtreptrader said in EA trading stops manager.:
@ontradingx what kinda strategy is the robot doing? another idea is to rebuild the strategy on fxdreema
Support and resistance strategies.
I will try to find out if there is any code that disables and re-enables the metatrader to put in the " mql " block
Thank you all for your help. @Youngtreptrader @l-andorrà @jstap -
RE: EA trading stops manager.posted in Questions & Answers
@l-andorrà
The biggest problem is that the other robots weren't developed in Fxdreema or by me, I don't have access to the source code to put a command there.
I think there is some code or something that can influence the "something trading" button in Metatrader 5 that makes any EA stop trading in metatrader. -
RE: Apply action on the first market tick.posted in Questions & Answers
@l-andorrà and @Youngtreptrader
Passing by to let you know that the explanation you provided here worked very well.What I did was "don't set a time" in the "once per day" block, done that the EA started executing all blocks below it on the first tick to the market and not executing anything else until a new tick of the next day happens .
Many thanks to you 2. -
RE: Apply action on the first market tick.posted in Questions & Answers
@Youngtreptrader
Thanks for your help friend.
Yes, all my EA's are made through Fxdreema, I'm not a programmer.
Regarding my need to have this mechanism, it was due to the fact that the market I operate at Active Trades does not faithfully respect the start time. The broker informs that the currency starts at 13:00 but I've seen delays for it to start up to 10 minutes, if I configure it to execute rules at 13:01 the EA will not be able to execute because the broker started the asset at 1:10 pm.
As @l-andorrà informed and that's what I currently have, this solution given by him is not and will not work, because in the once per day block he requests that an exact time be defined to execute the block. Unless I have to leave the block without any definition for this to happen, I'll test it. -
EA trading stops manager.posted in Questions & Answers
Hello friends, picture a scenario:
I have 5 EAS each running on a different Asset.
I don't have any management in the code of these EA's.
I want my EA, in this case EA number 6, to only monitor the profit made on the day, when this total profit added to the floating balance (profit/loss of all open orders) reaches a profit of 5$, these number EAs 6 should then prevent all other EAs from continuing to operate until the next day.
It doesn't matter how he's going to prevent it as long as he doesn't close metatrader5 and also reactivate the next day. -
Apply action on the first market tick.posted in Questions & Answers
Hello friends I'm having a problem.
I operate an asset that does not respect the opening hours that the brokerage informs.
For example:
The asset Bra50 of the broker Active Trades starts at 13:00 and ends at 22:25 (this is the broker's information), see below:

But for some reason sometimes there is a delay at the beginning and this delay is adjusted to the end of the day.
For example: The market for this asset should open at 1:00 pm and open without prior notice at 1:02 pm, or sometimes at 1:05 pm, 1:12 pm, anyway, you cannot trust the time informed by the broker.
If the market for this asset starts at 13:02 then instead of stopping at 22:25 it will stop at 22:27.This gets in the way of some rules I have, as they depend on the exact moment the asset starts to work, so if I put the broker's time too many times, my EA will not apply because the EA will respect that time that I predetermined and the broker did not respect, she was late to start the market for that asset.
I would like to apply the solution of identifying what time (actually) the market opened.
Can anyone give me an example of how to do this? -
Count number of touches on a support or resistanceposted in Questions & Answers
How can I record how many touches a candlestick has had on a support or a resistance in the last 200 candles?
Can anyone give me some idea how to do this correctly?

