Unisciti alla nostra fan page
- Pubblicati da::
-
Conor Mcnamara
I started learning C programming in 2010. From there I picked up many languages.
I'm working on several indicator projects and EA concepts. - Visualizzazioni:
- 48
- Valutazioni:
- Pubblicato:
-
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance
Si tratta semplicemente di una riscrittura dell'indicatore Heiken Ashi di MetaQuotes, con tutti i buffer impostati come serie. Ha esclusivamente scopo didattico.
Quando ho iniziato a studiare questo framework, ero molto confuso su come modificare gli indici dei buffer e quelli dei cicli. Ad esempio, avevo un indicatore progettato con buffer in serie; volevo aggiungere l’Heiken Ashi, ma non sapevo come farlo correttamente (poiché i buffer dell’Heiken Ashi non erano stati originariamente progettati per funzionare in modalità serie).
Ora, con questo codice, potrebbe essere più facile per chi sta imparando comprendere come modificare il tutto quando si prende una struttura di indicatori non in serie e la si converte in modo che tutto funzioni in serie. Ciò potrebbe fornire chiarezza anche a chi ha familiarità con MQL4, ma non ha ancora lavorato con MQL5.
Alcuni indicatori costruiti in serie possono utilizzare in modo sicuro un indice iniziale pari a "rates_total - prev_calculated", ma è necessaria una barra in più per calcolare in modo sicuro l’Heiken Ashi quando questo utilizza un indice storico [i+1] nel calcolo.
Tradotto dall’inglese da MetaQuotes Ltd.
Codice originale https://www.mql5.com/en/code/73176
RealCost XAU Session Cost Snapshot MT5
Open-source MT5 script that records XAUUSD/GOLD symbol settings, spread, tick value, contract size, volume step, stop/freeze levels, swap, and account context to the log and optional CSV.
Profit Concentration Analyzer
A native MQL5 script that measures how concentrated a strategy's profit is — whether the edge is broad or rests on a few lucky trades. It reads a per-trade CSV (Date,Profit) and reports the share of net profit from the largest trades, the Gini coefficient of the winners, a concentration profile, a survival test that removes the best few trades and recomputes net profit and profit factor, and the largest single day versus a configurable consistency limit, combined into a concentration-and-consistency score (A+ to F) with recommendations. If no file is found it generates a sample set, so it runs out of the box. No external libraries, no Python, no AI. The helper ExportTrades.mq5 writes the file from your trade history.
Premium Discount Range Mapper
A lightweight educational MetaTrader 5 indicator that maps Premium, Equilibrium and Discount areas from a selected market range.
SetSLByLoss - set Stop Loss on all open positions by target loss amount
Script per impostare lo Stop Loss su ogni posizione aperta in base a una perdita target espressa nella valuta del conto (ad es. 50 $ per posizione). Funziona con qualsiasi valuta di deposito e qualsiasi simbolo forex. Verifica i livelli di stop e di congelamento del broker. La conversione valutaria viene gestita automaticamente.
