With Kings of the hill EA, you can set up the grid yourself based on indicators from the market. In order to test grid trading from any indicator, it is not necessary to buy it immediately and Kings of the hill itself can also be bought or rented only after you have set up the grid and tested it on history. In the new version, the opening of new grid orders (already available) added, only after passing the next distance and the appearance of a new indicator signal.
Look at indicators in the market that have arrows, connect them to Kings of the hill and test them. Before purchase indicator and King of the hill.
I will be glad to help you figure it out, write me.
The usual grid of orders.
A unique assistant for traders who trade on reversals and pullbacks of a price or trend.
The first deal can be opened using the Buy or Sell button.
Also, according to the signal of any indicator with correct buffers.
The first trade is set to take profit or trailing profit.
If the price has gone into profit, then the transaction will close in profit.
When a trade starts to go at a loss, orders are opened at a given distance.
When the price reverses back to profit, the entire grid will close.
The uniqueness of Kings of the hill.
- If the grid continues to develop without a rollback, it may stop opening new orders after a given drawdown and roll back into profit with a lower landing. If the rollback did not occur, it will close the loss on the next drawdown.
- The closing of profit and loss can be adjusted relative to each next level of the grid and or relative to an increase in drawdown. For each next and then the last level and for each subsequent drawdown, we set a profit or loss. Closing by levels, you can trawl in the deposit currency and rollback in the currency.
- The change in the lot of the next transaction is increased by multiplying or adding a given lot. The lot multiplier can be raised by a set number of levels. for example. The first order is 0.05 lot. 10 next 0.1 lots each. 10 next 0.15 lots. 10 next 0.2 lots.
- It is possible to stop the lot according to the specified one, every time the next order should open with a lot higher, it will open according to the specified, maximum allowed one.
The kings of the hill. These are the last transactions in the grid. Which gain a lot in order to close the grid in profit and or with a smaller loss when rolling back. The rest of the grid transactions, when rolling back from the last levels to the previous ones, close the previous orders. Vertex orders are not closed when rolling back until the grid is completely closed. The more king trades there are, the less rollback there will be to close the grid into profit.
By this mechanism, the number of grid levels on rollbacks is reduced. Accordingly, by shifting transactions in a large lot to the top / bottom of the price and reducing the accumulation of transactions in the grid, and this reduces the drawdown and reduces the rollback distance to close the profit.
- For a long time without a rollback, you can set the maximum number of grid transactions. With each new order, from the first to the next, they will begin to close and the important part is that their loss can be taken into account or not taken into account for the expected rollback.
- The maximum number of levels/orders per bar. It helps to solve the problem of a sharp jump in the bar and opening more than a lot of deals on it, which could lead to a drawdown exit.
When the specified number of transactions is already open on the bar, the next level is activated on the next bar, if the distance is still relevant.
Thus, the grid is moved higher or lower and continues to develop or goes into a rollback. This significantly removes the drawdown and the number of extra grid orders.
Customize your grid with Kings of the hill.
EA Kings of the hill was created to solve the problems of drawdown and unnecessary losses when trading the grid. Kings of the hill trader is set up for different tasks.
It is possible to build an automatic grid without an indicator, which will increase profits. Testing with parameters, changing levels, lots, outputs. It is tested relatively quickly. In my tests, I went from 16,000 points to breakeven. With a drawdown of 3500, the average levels are 200-300, transferring trades to the top, closing the old ones until a reversal occurs. The grid can be customized for medium levels, large levels and micro levels. The danger of the grid is without rollbacks, you need to be prepared for them, and I have implemented in this EA those parameters that will help me and you.
Who trades by himself or connects the grid to the indicator. If the trade is at a loss, you can use the grid to restore unprofitable signals, bringing the first trade to no loss, zero or a small profit. On the contrary, while the deal goes to a loss before going into profit, it will shift the first deal and add a lot to it or gain more deals and when profit is reached, the profit will be higher.
Watch, test and trade for your pleasure.
Ready-to-run parameters.
In the comments you can see the ready-made set parameters for automatic trading. Both mine and the participants. I welcome the publication of your findings, you can leave the test results, set files, name and link to the indicator in the comments.
If you have not yet purchased “Kings of the hill” and have selected decent parameters, then as an EA development participant, I am ready to provide you with “Kings of the hill” at a price of $ 30 and you can publish a set of parameters in the comments for those who want to trade stably and profitably.
If you want to conduct a test with high-quality modeling and you do not have the necessary software, send me your set files, commission amount, timeframe, currency pair and average spread.
I will send you the test results.
Notes. Important!
Auto launch is set for the strategy tester.
EA can only trade in one direction, either sales or buys.
If you want to trade in both directions, so that one grid can be on the other, then set EA to two charts.
EA will not mix drawdown and expected profit between buys and sales if you trade from two charts. If you want, you can use the reverse EA to close both grids when the total profit is reached.
Trading in 2 directions theoretically increases the overall profit and can reduce the drawdown of the account. So with one sagging grid, the opposite one may also be at a loss, but in the black for the second one or close the profits at that time.
Use a VPS with low pings, optimally from the market. When testing a successful grid at micro levels, a 200-300 ping test was performed and EA merged. At 20-30 EA showed the same results as without slippage.
A VPS from the market for $ 15 per month has a fairly small ping, it is often even less than 20 miles per second.
Using a grid with wide levels, ping is of little importance in most cases.
In case of a failure, namely when restarting the terminal, open transactions will remain unattended and EA will wait for a new grid.
This will be resolved soon by remembering the changes and adapting to the restart.
Run tests with high-quality modeling and all accounts, otherwise there is no trust in all test indicators.
Test for long periods and in both directions to confirm the success of future trades according to your parameters.
Price.
Rent is now available at the lowest price. This is your chance to make a profit for the leased period with less expenses.
The purchase price is average. It may change. For the work done, for the ideas, testing, parameter adaptation and code quality, leaving EA fast to test and execute transactions. Considering that purchases can be rare. I built EA for myself and my investors. Every purchase or lease is a bonus for me and an opportunity to develop this or other products, there are not a few ideas, even there are ready-made tasks.
Parameters.
Magic
Slippage
Additional anti-requote attempts – Additional anti-requote attempts
Buttons – Show/hide grid opening buttons
Autostart of the first order – Start the grid at the start of work
Type of initial grid order for auto trade – The direction of the grid, buying down or selling up prices
Autostart of the next grid after closing the previous one – If you continue to open new grids after closing the previous one
Maximum allowed grid lot – The maximum grid lot, if the expected lot is higher, it will open at this value
Lot rounding – rounding the lot
_____ INDICATOR _____ Trading from the indicator If you trade from the indicator, then disable “Autostart of the first order” and “Autostart of the next grid after closing …” EA will open the first trade and the grid in automatic mode. Will not open a new grid on the next signal if there is an open grid.
Entry using the indicator buffer – Enable trading from the indicator
market\BreakOut Space Fixation – The location of the indicator and its name
Indicator Buffer – A buffer with which to open the grid for buys or sales, as specified by you
Bar (current = 0) – The bar from which the order will be opened at the signal of the indicator
Unaccounted indicator buffer value
For indicator settings separate use the “_” . If the values are default, leave them blank The indicator parameters, if unchanged, can be left empty. We separate the parameters with the “_” sign without the quotes. Fractional parameters are separated by a dot. Drop-down options, the first one is 0, the second one is 1, etc.
__________ FIRST ORDER __________
Start Lot
Start TakeProfit
__________ ADD ORDERS __________
Maximum orders on one bar of the current TF – Maximum orders on one bar
(point) Distance from last to next trade – The distance from the last to the next trade
rollback from the grid step (1-100%) before the open – Rollback from the distance as a percentage of the stretched level has not yet rolled back from the top by a percentage, before opening a new deal
Lot multiplier (choice) – How to increase the lot. Add to the lot of the previous order or multiply by the previous order
Lot multiplier (value) – The value of increasing the lot, both for multiplication and addition
Increase lot every [_] grid steps – Do not change the lot increment every [_] levels.
Maximum orders in grid – The maximum number of orders in the grid. When the grid is reached in order from the first order, orders will begin to close and new ones will open instead of the first ones
__________ CLOSE ORDERS __________
Accounting for closed orders when calculating closes – If those orders that were closed before the grid was closed are taken into account for closing. If you do not take into account, then closing from changes in levels or drawdown will not take into account all losses of the grid. If active, the grid will develop, close and open orders, shifting the kings’ trades until it closes the entire grid at the expected loss/profit
King orders amount – Do not close [_] last orders at 0 – Kings deals. The number of recent trades that will not be closed until the grid is completely closed
Grid loss, at which new orders are not opened – With this drawdown, new orders will stop opening
Grid loss, for closing the grid – With this drawdown, the entire grid will be completely closed
Profit by grid steps and rollback from in % – Relative to each next and last level, you can set a change in the expected profit margin of the deposit and a rollback from it as a percentage. Example 5/20_10/30_-5/0 5/20 is the first level after the first order. 10/30 next. _-5/0 next and every next one. When reaching $ 5 on the grid, we are waiting for a rollback of 20% from $ 5. We divide the levels through the bottom line. You can set a negative value.
Drawdown and pullback from drawdown – The expected profit or closing of the grid at a loss, relative to the change in drawdown. The first value is drawdown, the second after /, Which profit or loss to close when the drawdown is reached.
New updates
Ready and added.
– Changes in the distances of the levels, without limits. For example 100_100_100_500_100_100_100_900_300_300_300_900_500_500_500
– Opening of the following orders based on the indicator signals. Opening of new levels / orders only if the next distance has been passed and a new indicator signal for buying or selling has appeared behind it.
– Displaying equity on a grid on a chart. Including / not including previously closed transactions
– Closing the entire grid from the chart
Expected updates
– Further adaptation of locking orders. Grid reversal. All that will help you get out of long grids without kickbacks.