Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]
This Expert Advisor was created so that the trader could connect a custom indicator to it and implement his own Expert Advisor based on this indicator. You can connect a custom indicator both from your terminal and from the market. The iCustom Advisor Expert Advisor, based on the parameters set by the user, determines the moment when arrows or similar signals appear and opens a deal in the appropriate direction. I must say right away that this system will not work on all indicators, since there are a lot of methods for writing indicators and it is difficult to write a system in which they would all be taken into account. The Expert Advisors also have a basic indicator built in so that you can test the indicator’s operating modes. It is based on moving averages.

To connect the indicator from the market, you must first download or purchase it.

To connect the indicator from the market, you must first download or purchase it.

The Expert Advisor can work in several modes:
1. Open a trade based on the indicator signals and close it when a reverse signal appears.
2. Open trades based on the indicator signals and close them only when TP and SL are reached.
Input parameters:

[spoiler title=”Read More…”]

useExternIndicator – Use the built-in strategy or use an external indicator (true – use an external indicator, false-use the built-in strategy)
period_base_strategy – period for the built-in strategy, if useExternIndicator = false
Magic-Magic for the Expert Advisor
lot-a lot for trading
closeOnopposite – whether to close the deal when the opposite signal appears. For example, if you have a SELL position open and a BUY signal appears. true – close the deal immediately when an anti-cold signal appears, false – close the deal only when TP or SL is reached
maxOpenOrders – the maximum possible number of orders opened simultaneously. Valid only if closeOnopposite = false. If closeOnopposite = true, then maxOpenOrders becomes equal to 1.
TP-take profit in pixels
SL-stop loss in pixels
IndicatorName – the name of the indicator. If you use the indicator from the market, then you need to write Market/The name of the indicator, if not, then only the name of the indicator.
mode_buy-index of the indicator buffer with buy signals

mode_sell-index of the indicator buffer with sell signals
SignalOnLast-the signal appears on the current candle or on the previous one. It often happens that the indicator gives a signal not on the current candle, but on the previous one, then you need to set the SignalOnLast = false parameter

mode_sell-index of the indicator buffer with sell signals
SignalOnLast-the signal appears on the current candle or on the previous one. It often happens that the indicator gives a signal not on the current candle, but on the previous one, then you need to set the SignalOnLast = false parameter

Next are the input parameters of the indicator that you are using. Regarding the TypeParameter fields – if the parameter type is not string (double, int,bool, float, etc.), then we write 0,if string, char, then we write 1, if the parameter is not passed, then -1. 

Next are the input parameters of the indicator that you are using. Regarding the TypeParameter fields – if the parameter type is not string (double, int,bool, float, etc.), then we write 0,if string, char, then we write 1, if the parameter is not passed, then -1. 

typeParameter1 = -1; / / Parameter type 1 (-1, 0 or 1)
valueParameter1 = “No value”; / / Parameter value 1
typeParameter1 = -1; / / Parameter type 1 (-1, 0 or 1)
valueParameter1 = “No value”; / / Parameter value 1
typeParameter2 = -1; / / Parameter type 2 (-1, 0 or 1)
valueParameter2 = “No value”; / / Parameter value 2
typeParameter3 = -1; / / Parameter type 3 (-1, 0 or 1)
valueParameter3 = “No value”; / / Parameter value 3
typeParameter4 = -1; / / Parameter type 4 (-1, 0 or 1)
valueParameter4 = “No value”; / / Parameter value 4
typeParameter5 = -1; / / Parameter type 5 (-1, 0 or 1)
valueParameter5 = “No value”; / / Parameter value 5
typeParameter6 = -1; / / Parameter type 6 (-1, 0 or 1)

valueParameter6 = “No value”; / / Parameter value 6

More detailed instructions can be found in the first comment: #!tab=comments 

Write your feedback, questions, comments – we will work together to finalize this adviser.

valueParameter6 = “No value”; / / Parameter value 6

More detailed instructions can be found in the first comment: #!tab=comments 

Write your feedback, questions, comments – we will work together to finalize this adviser.

[/spoiler]

Add review
Reviews ( 0 ):