Forum

Script to close the oldest open order

Hi, I been using hotkeys to buy/sell X amount of lots with scripts and using a "Close All" script to close an entire position of multiple orders. But what if I want to close only 1 order at a time? I found this topic to close the oldest 5 orders but it seems incomplete and part of the codes used

Strategytester: Adding addition currency options

Is it possible to edit some files to get more currency options in the strategy tester

OFFLINE: adding new symbols to MT4 for offline testing/charting

I want to add additional symbols to MT4 and upload custom market data in offline mode for building and testing EAs . How can I edit symbols.raw symbols.sel symgroups.raw ? This is only for offline testing and optimization purposes . I am using MT4 as the engine to build/test/optimize these symbols

Help a learning coder fix an indicator?

Try to display ATR levels for today's range, 10, 14, and 21 day ranges. The bottom right corner. I made my best attempt at it and have been tinkering with it for quite a while without much luck. Got it narrowed down to only 5 errors. Anyone want to point out the corrections

A simple EA used by professionals in all markets. ATR trailing stop properly done.

I've scoured the internet for a good ATR trailing stop indicator and EA. I found 1 of each that have been the best thus far, but they are still awful. The indicator its fairly useful. Plots support and resistance ATR using the visual dots the PSAR uses. The EA is junk. I thinking of combining the