Heiken Ashi VPS
The Heiken Ashi VPS is a proposal to trade using Heiken Ashi Indicator. It is designed to kept a single order all the time. And use the stop loss as a direction switch.
EA have 2 types of stoploss, first stoploss and interval level stoploss. The first stoploss using the lowest level of the market level at the time by using same shift as interval level stoploss. Interval level use the low or high of Heiken Ashi Indicators.
I add the risk and lots as input. In the case of risk value read as zero EA will apply lots for trade. When risk have a value, EA will not trade if the minimum lots is less than the minimum allow lots for each symbol. To calculat lots from risk EA will use the input first minimum stoploss as stoploss reference. If this first minimum stoploss is read as zero, EA will apply risk as percent margin so it will have different meaning.
I am not recomend to use it in a long time because when the market have low volatility the stoploss may hit offenly than the profit.
With the database, It would keep best result from optimization into a single file, so it would be easy for optimization many charts and update to vps.
Use prefix method for Magicnumber.
Add new parameter for take profit.