Unisciti alla nostra fan page
- Visualizzazioni:
- 1830
- Valutazioni:
- Pubblicato:
- 2024.05.05 12:46
- Aggiornato:
- 2024.05.06 03:38
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
This particular expert advisor contains a very useful code which is often required by the developers. Most of the time , we need the last closed trade. But in this EA you can search a trade with any index.
By active trade ,I mean market orders not pending orders
if you pass 0 then it will fetch the most recent active trade
If you pass 1 then it will fetch the trade before that and so on.
We can filter the trades based on symbol and magic number.
![Get Nth Active Trade from the end in MT5](https://c.mql5.com/i/code/expert.png)
This EA will scan all the open trades and then print the nth trade from the end
![Geometric Moving Average](https://c.mql5.com/i/code/indicator.png)
MQL5 version of geometric moving average.
![Count consecutive no. of bull or bear bars](https://c.mql5.com/i/code/script.png)
Sample code to count consecutive no. of bull or bear bars.
![Lession 1_ Bullish and Bearllish Candle Tick](https://c.mql5.com/i/code/expert.png)
This is a lesson on how to create a Bullish - Bearllish reversal trading method based on the Japanese candlestick pattern. Now we will refer to detail introduct about method: