Default Entry/Exit Rules Based on Configured Indicators - Quick Load Code: bi
Adds tick boxes to allow entry and exit when configured indicators are in agreement, subject to the thresholds set in CONFIG | General Settings. The Auto Mode says if should alert, trade one-off, or trade continuous. The rule works by looking at the total % of indicators in agreement for entry and % gone in opposite direction for exit and then signals entry/exit as appropriate.
This second version will add 'Exit Min Bars' box which will ensure that a
trade has been opened for this number of bars/candles before exit on opposite signal can happen. Default is 1 which means exit can't happen on the candle where the trade was opened, but needs to be at least the next one.
Also adds 'Exit Min RRR' which if not blank is the minimum risk/reward the trade
needs to have achieved before exit on indicators is possible.
The quick load code is: bi-2
The next version has a 'Exit Profit' box, which is the minimum profit for exit on indicators to be possible. The default value of 0 means the trade must be break even or in profit for exit to be allowed if indicators go bad. This gives a chance for the trade to get going. If set 'Exit Profit' blank then turns off this check.
The quick load code is: bi-3
The next version allows peak pip profit that needs to have been achieved before exit by indicators is possible. Set 'Exit PipsPrft' box with minimum peak pips profits required since trade was opened. Set to blank to turn this check off.
The quick load code is: bi-4
Auto Entry/Exit on Indicators with Auto Loss Recovery - Quick Load Code: bi-alr
When trade is open the stop loss will be replaced with a thick yellow line, which marks the start of auto loss recovery if it is reached. If the price doesn't deteriorate to this line then the trade will be as normal, e.g. with configured take profits. However, if the price does deteriorates to the original stop loss then auto loss recovery will activate. This will open a hedge order and show cyan colored target lines above and below, which indicate where auto loss recovery will be complete. A white line is also show where original entry price is. Should the price recover to the entry price then another order will be opened in the same direction as the original trade. These additional orders are sized such that the trade will approximately break even with if either the upper or lower cyan colored recovery complete lines are reached. Additional orders are opened if the price was to again deteriorate to the original stop loss price and so on. When auto loss recovery is activated the original TP will no longer be used.
This rule will work for both auto trades and manual trades and both directions can be handled if need be. Note, the auto exit on indicators will only work if trade is in profit as otherwise it would interfere with any loss recovery. The 'Rcvr sell' and 'Rcvr buy' boxes should left alone and will show current step of recovery, but can be set to OFF to turn off auto loss recovery. 'Rcvr Mulplr' is used to work our cyan recovery lines, which are offset from original entry and original stop loss based on this number multiplied by the original stop loss in pips. The 'Rcvr Step' gives a list of values which are used to size the additional orders, separated by |. Note, this rule puts the EA to be in multi-trade mode, as this is needed to manage the additional orders.
When auto loss recovery is activated the SL and TP are still used as a backup but are positioned just outside the recovery zone, i.e. cyan colored lines.
Auto Entry/Exit on Indicators Near Open Price - Quick Load Code: bi-o
Will only open trade after indicators signalled if the entry price is near candle open price. Set 'Open Offset' with max offset to be allowed, in pips, from candle open. Can use % for percentage of Average Daily Range. If negative value supplied then price will need to better than open price, e.g. if small re-tracement/pull-back happens after the entry signal. Set 'Open Shift' to the open price to used, if 0 then will be open of candle where signal happened, if 1 then will be candle before that. Set to blank to just use open price of current live candle. Set 'Open Bars' to max duration (in bars/candles) that the open needs to happen from the moment of the trade signal. Note, indicators do not need to be to still be signalling at the moment of entry when price is within range of the open price.
This second version will honour things like trading hours checks before opening near open price. Quick load code: bi-o2
Auto Entry/Exit on Indicators with Pip Offset from Signal Price - Quick Load Code: bi-ofst
Will enter/exit when market has moved by supplied pip offset in a signal direction, based on the price at signal time. This provides extra confirmation that market is moving in the signalled direction. Separate pip offsets are provided for sell and buy and for entry and exit. Set to 0 if want entry at signalled price. Use 'Buy/Sell Offst' boxes to set entry offset and 'Buy/Sell ExitOffst' for exit offset.
Note, the '... @' boxes are set by the rule automatically and you can hide them if you wish via CONFIG | Rule GUI Controls | Visible.
Also supports min peak pips profit for exit to happen, similar to bi-4.
This second version is almost the same but for min pips profit is based on current trade profit pips, rather than peak pips profit achieved. Quick load code: bi-ofst2
Sets Pending Orders on High/Low upon Indicator Signal - Quick Load Code: bi-phl
Sets bracketed pending orders when configured indicators come into agreement. Those pending orders are based on the high/low of the closed candle before the signal. A text box 'PHL Offset' is used to supply additional pips to be added to the high/low. If set blank then goes to normal entry based Auto Mode. Note, auto exit on opposite signal is turned off, by default, in case indicators don't match pending order that gets triggered and thus would cause an immediate exit! Note, only sets up pending orders if trade not already open in either direction. Note, make sure indicators have Use For Reset ticked for at least one, as 'Auto reset for new alert/trade on opposite signal' of CONFIG | General Settings won't work when setting pending orders rather than generating a market trade open signal.
The following second version will only set one pending order in the trade signal direction, still based on hi/low, as appropriate. Quick load code: bi-phl2
Sets Pending Order Based on Indicator Values On Signal - Quick Load Code: bi-pi
Allows pending order to be set then configured indicators signal, such that the pending order price comes from an indicator itself. After loaded rule you need to use CONFIG | Indicator Values to Capture to set reference IDs pendBuy and pendSell with your indicator that is providing the pending order price. Set the indicator name and color index, also set indicator inputs if they are different to default. Fine to use same color index for both buy and sell. Note, it's important that the indicator is providing the pending price at the time the other configured indicators signal. Use 'Pend Offset' to offset pending price by further pips. Set to blank to turn off pending and switch back to immediate trades.
Reverse Entry/Exit Rules Based on Configured Indicators - Quick Load Code: bi-r
As default rule but reverse entry/exit, i.e. will open buy when overall indicator result shows sell/red (-100) and visa versa for sell. IMPORTANT: Make sure high speed testing is turned off in CONFIG | Options as that uses hardcoded regular entry rule. Also, doesn't invert filters including HighAndStart indicator priority.
This second version will use multi-trade mode, with trade index 0 for normal direction and trade index 1 for opposite direction. So, can open trade in both directions. Quick code code: bi-r2
Stoploss Reverse - Quick Load Code: bi-slr
Adds stoploss reverse tick box and underlining rule.
An alternative version of stop loss reverse rule is available that is permanently on until unticked manually. Quick load code: bi-slr2
This third version is also on permanently on but also offers a Max Profit text box. If this set then will turn off SL reverse if max profit target is reached. Will turn back on again if no trade is open. Note, if Max Profit if blank then will work the same as bi-slr2. Quick load code: bi-slr3
This forth version with set the reverse trade based on the original trade, in terms of SL, TP and lots. Useful if want the reverse trade to recover loss in the previous trade. Will set SL of reverse trade to open price of original trade. Will set TP based on stop loss size of original trade multiplied by supplied factor in 'TP Multi' box (note spread will added as well). Will set lots based on original trade multiplied by supplied factor in 'Lots Multi' box. The default is where half the TP but twice the lots will be used on the reverse trade, with a view to recovering the loss of the original trade. Note, to turn rule off set the Lots Multi box to blank. Note, can also set EA input User_configNum1 to pips to add to reverse TP, e.g. to cover commission. Quick load code: bi-slr4
This rule doesn't support hedging, so 'broker supports hedging' is turned off in CONFIG | Options if load this rule.
Close All Trade Button - Quick Load Code: bi-ca
Adds button to panel that will close all trades open on the account. Has confirmation message box, prior to close happening.
Note, this rule is also available in our Scripts section, as it just remains here as some of our older videos refer to it, i.e. for historical reasons.
A second version will not do the confirm on button press and simply go ahead with the close. Quick load code: bi-ca2