Codes

Harmonic Pattern Finder V3 for MetaTrader 5

Indicator to display existent and emerging harmonic chart patterns

ATR ZigZag for MetaTrader 5

ATR-based ZigZag implementation

Scale Fibonacci Arcs for MetaTrader 5

Script to set correct scale on Fibonacci arcs attached to chart

Harmonic Pattern Finder V2 for MetaTrader 5

Indicator to display existent and emerging harmonic chart patterns

Swingchart for MetaTrader 5

Gann swingchart and hybrid ZigZag implementation

Harmonic Pattern Finder for MetaTrader 5

Indicator to display existent and emerging harmonic chart patterns

Forum

OnDeinit() race condition and recalculation issues

Hello, I am writing an indicator which draws certain objects in the chart. Upon removing the indicator (or changing timeframes or input settings) an OnDeinit() procedure is therefore called to clean up resources by - among freeing arrays and nullifying variables etc. - also remove the drawn objects

ObjectDelete() function not working properly

I'm writing an indicator which displays (many) trendlines on the chart. When the indicator is removed from the chart I would like to delete the trendlines it has drawn, and do so without deleting other trendlines created by other indicators or drawn manually. For illustration one can just assume the