In last month's article was presented the strategy of the Maximums and Minimums . This strategy makes sense in pairs of low volatility, such as EUR/CHF. Although the automation trading has got some well known advantages. This article presents an implementation of the strategy using the JForex language.
A JForex strategy is essentially composed of three parts. The first one is the part of the parameters and strategy settings. The second one is the part containing the logic of the strategy (interpretation of indicators) applied to the bars, ticks or both.
Finally the third is a logistics part where we have the functions that allows us to launch and control orders to the market.
In this article, as you can see in the following chapter the focus will be on the first and second part. The following topics are the most important aspects that are implemented in the second part of the strategy.
The Jforex Strategy
You can see the full strategy description on last month’ article at .
1. The entry market triggers
“On each closure of the one hour candles, the basic idea is to check if the Close occurs above or below the maximum or minimum of the previous day rela[/1][/1]…