You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Sorry for the discomfort, my indicator is loading the system.
In electronics it is solved simply, put the single oscillator running at the arrival of the impulse (the first candle). In this indicator and in others, it can also be solved if you write an additional command string to turn on the indicator with the arrival of the first swarmed candle for a limited time. It means the indicator doesn't work during the candle's formation but after it is formed it is switched on for a limited time.
What do you think the programming guru ------------ think it is possible?
Technical specification: N buy stop up and sell stop down orders are placed from the current price (at one level there are 2 orders with the same lot L) through step I. At each level there is 1 order with Take=T. After the take order has triggered, a stop loss = S is set at the second order standing at the same level as the closed one. When the second order is closed by the stop loss, 2 orders are set in its place again (1 with a TP, the second one has no stop loss yet). Closing of the grid is done manually.
Apparently, the task has to be improved.
The designation of a step I (capital i) is not very convenient because it looks like l (lowercase L). When searching for these letters you will find a lot of them in different words. It is more convenient to mark a step with the word Step. The rest of the parameters are: Lot, Sl, Tp.
Then N orders upwards, two at each level - is that N even? Perhaps N levels up and down would be better. At each level 2 orders ... Instead of N it makes more sense to me to take levels
The countdown of levels from the current price ... What if the Expert Advisor is restarted? Where do levels come from now? It would be more convenient to use levels from zero. If the price is 1.70012, at a step of 100 levels up 1.70100 1.70200 ... and down 1.69900 1.69800 ...
Closing of the grid - manually. What for? Let it work. We may close all orders when closing the EA. And, when starting, you can close all of them in case the previous run was over (for example, the power was turned off), and the Expert Advisor left orders.
Also, we have to set the initial parameter values for debugging the Expert Advisor. For example, Lot=0.01 Step=100 Tp=60 ...
This is a losing strategy.
Sorry for the discomfort, my indicator is loading the system.
In electronics it is solved simply, put the single oscillator running at the arrival of the impulse (the first candle). In this indicator and in others, it can also be solved if you write an additional command string to turn on the indicator with the arrival of the first swarmed candle for a limited time. It means the indicator doesn't work during the candle's formation but after it is formed it is switched on for a limited time.
What do you think the programming guru ------------ think it is possible?
https://www.mql5.com/en/forum/211945/page2