This is a simple example EA for MetaTrader 4, it is my 2nd published code in this community.
The main idea of this Expert Advisor is to trade by the basic concept of Stochastic oscillator in its basic parameters, with ability to change these parameters via the EA inputs.
This EA is only for coders and who interested to learn Forex programming as a beginner. Use it only in Demo accounts or Strategy Tester. Don't use it in real trading.
Spread, its moving average (EMA), its maximum and minimum, and ticks per second (market speed) in the Comment. The version 1.01 is made with the normal average, instead of the moving average.1 Click Button To Close All Open Positions
1 Click "Close All" button to close all your positions (regardless of the pair) will be closed at once.
Expert Advisor that will close all orders and disable another Expert Advisor / AutoTrading at desired level.Predictor Marks for Renko, Mean Renko and Range Bars
The indicator places two price marks for the expected candle close, based on the candle range and the chart type.