FrankoScalp Description

3 March 2017, 15:43
Konstantin Kulikov
7
10 745

All parameters for EA FrankoScalp and FrankoScalp MT5

    • ==== GMT and DST ====
    • GMT_Offset_Manual - the value of the difference between your broker's server time and GMT (during testing establish value for the winter period);
    • GMT_Offset_AUTO - enable/disable automatic detection GMT Offset, based on the local computer time (in the Strategy Tester does not define);
    • Adjust_DST_select - enable/disable Daylight Saving Time correction (for the Strategy Tester);
    • ==== Lot and MM ====
    • Use_Fix_Lots - enable/disable a fixed trading lot;
    • Value_Fixed_Lot - the value of the fixed lot;
    • Use_MM_1 - enable/disable the lot value based on balance;
    • Funds_for_001_Lot - amount of funds for 0.01 lot;
    • Use_MM_2 - enable/disable the lot value as a percent of deposit based on StopLoss;
    • Risk_Percentage - percent of deposit for lot value calculation;
    • Use_MM_Reg_1 - enable/disable recovery money management 1 (trading lot will not decrease in case of drawdowns);
    • Funds_for_001_Lot_Reg - amount of funds for 0.01 lot;
    • Use_MM_Reg_2 - enable/disable recovery money management 2 (trading lot will not decrease in case of drawdowns);
    • Risk_Percentage_Reg - percent of deposit for lot value calculation;
    • On/Off_Lot_Min_for_MM_Reg - enable/disable setting the minimum trading lot for the recovery MM_1 or MM_2;
    • Value_Lot_Min_for_MM_Reg - minimum trading lot for the recovery MM_1 or MM_2;
    • Lot_calculation_based_on - lot calculation based on balance or equity;
    • Lot_calculation_with_rounding - use rounding when calculating a trading lot (more aggressive lot calculation, to accelerate the increase in balance);
    • ==== Grid and Martingale ====
    • Use_Grid_mode - on/off mode "Grid and Martingale";
    • Multiplier_of_trade_Lot - multiplier for a trading lot when opening a new position in the positions grid;
    • Signal_Only_for_First_Transaction - use opening logic only for the first position in the positions grid;
    • Close_positions_at_percentage_of_loss - percentage of floating loss from the balance at which all positions are closing;  0 - disabled;
    • ==== Days without Trade ====
    • Use_Holidays_Pass - not to trade in the period of holidays which is set by means of parameters: Month_start_Holidays, Day_start_Holidays, Month_end_Holidays, Day_end_Holidays;
    • use_Date_Holidays -  not to trade in days of holidays which are set in line Date_Holidays;
    • Number_Start_Month - not to trade the number of days at the beginning of a month;
    • Number_End_Month - not to trade the number of days at the end of the month;
    • ==== Record of deals in the file ====
    • Record_Deals - enable/disable recording of Expert Advisor operation details to a file;
    • Name_File - file name for record;
    • note_jumps_of_spread - to note on a chart quantity of tics with spread which is more than specified in the parameters: more_than_spread_1, more_than_spread_2, more_than_spread_3;
    • consider_only_during_opening - apply note_jumps_of_spread only in the period for opening positions;
    • ==== News Filter ====
    • Use_NewsFilter - to use the filter of news;  
    • News_All_countries - take into account the news of all countries;
    • News_USA - take into account the news of the USA;
    • News_Europe - take into account the news of the Eurozone and the UK;
    • News_currency_pairs - take into account the news for the current charts currency pair;
    • News_currency_string - take into account the news for the currencies which are registered in a line News_currency_str;
    • IncludeHigh - consider news of high importance;
    • MinsBeforeHigh - the number of minutes before the release of high-priority news to disable opening of transactions; 
    • MinsAfterHigh - the number of minutes after the release of high-priority news to disable opening of transactions;
    • IncludeMedium - consider news of moderate importance; 
    • MinsBeforeMedium - the number of minutes before the release of medium-priority news to disable opening of transactions; 
    • MinsAfterMedium - the number of minutes after the release of medium-priority news to disable opening of transactions;
    • IncludeLow - consider news of low importance; 
    • MinsBeforeLow - the number of minutes before the release of low-priority news to disable opening of transactions; 
    • MinsAfterLow - the number of minutes after the release of low-priority news to disable opening of transactions;
    • IncludeSpeaks - take into account news-speeches;
    • SpeaksHigh - take into account news-speeches of high importance;
    • SpeaksMedium - take into account news-speeches of medium importance;
    • SpeaksLow - take into account news-speeches of low importance;
    • MinsBeforeSpeaks - the number of minutes before the release of news speeches of any importance, to disable opening of transactions;
    • MinsAfterSpeaks - the number of minutes after the release of news speeches of any importance, to disable opening of transactions;
    • Skip_American_Holidays - if true, it will not open trades on American holidays;
    • ==== Strategies select ====
    • On/Off_Strategy_1 - enable/disable trading following strategy 1;
    • Comment_1 - a comment to the EA's trades under strategy 1;
    • Magic_1 - a unique magic number for the EA's trades under strategy 1;
    • On/Off_Strategy_2 - enable/disable trading following strategy 2;
    • Comment_2 - a comment to the EA's trades under strategy 2;
    • Magic_2 - a unique magic number for the EA's trades under strategy 2;
    • On/Off_Strategy_3 - enable/disable trading following strategy 3;
    • Comment_3 - a comment to the EA's trades under strategy 3;
    • Magic_3 - a unique magic number for the EA's trades under strategy 3;
    • On/Off_Strategy_4 - enable/disable trading following strategy 4;
    • Comment_4 - a comment to the EA's trades under strategy 4;
    • Magic_4 - a unique magic number for the EA's trades under strategy 4;
    • On/Off_Strategy_5 - enable/disable trading following strategy 5;
    • Comment_5 - a comment to the EA's trades under strategy 5;
    • Magic_5 - a unique magic number for the EA's trades under strategy 5;
    • On/Off_Strategy_6 - enable/disable trading following strategy 6;
    • Comment_6 - a comment to the EA's trades under strategy 6;
    • Magic_6 - a unique magic number for the EA's trades under strategy 6;
    • On/Off_Flexible_Strategy - a strategy with flexible configuration of parameters (Analysis_in_minutes, Entrance_Level, Exit_Level);
    • Comment_F - comment for "Flexible_Strategy";
    • Magic_F - magic number for "Flexible_Strategy";
    • Analysis_in_minutes - the number of minutes to analyze "Entrance_Level" and "Exit_Level" (value range: from 15 to 240);
    • Entrance_Level - "entry level" (value range: from 0 to 12); the more, the more stringent conditions for opening a position (the fewer positions);
    • Exit_Level - "exit level" (value range: from 0 to 12); the more, the more stringent conditions for closing a position (the positions are open longer); 
    • use_select_Stratedgy - to select strategy from 1 to 6 by optimization in a Strategy Tester;
    • ==== Additional filters for all strategies ====
    • Tick_filter - an additional filter for opening a position, taking into account the last tick;
    • HighLow_filter_for_Enter - an additional filter for opening a position, taking into account High/Low of the last candle;
    • HighLow_filter_for_Exit - an additional filter for closing a position, taking into account High/Low of the last candle;
    • Minimum_Pips_at_Profit - the minimum number of profit points for closing a positive transaction;
    • Use_Close_Analysis_Time - enable/disable the use of additional algorithm for closing transactions;
    • Max_Minut_Open_Position - maximum lifetime of an open position in minutes, works at value more than 0;
    • Minimum_Duration_of_deal_in_seconds - minimum time of life of an open position in seconds, works at value more than 0;
    • Minimum_Duration_for_deals - selection of positions for which Minimum_Duration_of_deal_in_seconds will act;
    • ==== Common parameters ====
    • BUY_orders - to open a buy orders;
    • SELL_orders - to open a sell orders;
    • Slippage - allowable slippage in points (on Market Execution is not affected);
    • Max_Spread_Open_for_BUY - maximum spread when opening a buy trade in points;
    • Max_Spread_Open_for_SELL - maximum spread when opening a sell trade in points;
    • Max_Spread_Close_for_BUY - maximum spread for closing a buy trade in points;
    • Max_Spread_Close_for_SELL - maximum spread for closing a sell trade in points;
    • Close_for_Any_Spread_at_Pips_Profit - the number of points in the profit (taking into account the current spread), at which the order is closed (at the close signal) for any spread, is valid for a value greater than 0;
    • TakeProfit_Hide - virtual Take Profit hidden from a broker in points;
    • StopLoss_Hide - virtual Stop Loss hidden from a broker in points;
    • TakeProfit_Safety - Safety (real) Take Profit in points (TakeProfit_Safety has to be more TakeProfit_Hide);
    • StopLoss_Safety - Safety (real) Stop Loss in points (StopLoss_Safety has to be more StopLoss_Hide);
    • Duration_Pause_Minut_at_SL_Hide - pause duration in minutes when StopLoss_Hide is triggered;
    • Close_Loss_only_by_SL - closing of negative trades only by StopLoss (virtual or real);
    • Min_minuts_pause_between_positions - minimum pause in minutes between opening of positions;
    • Multiplier_of_Min_minuts_pause - multiplier for Min_minuts_pause_between_positions when opening the next position;
    • Min_pips_between_positions - minimum difference of the prices of opening in points, necessary for opening of the new position;
    • Multiplier_of_Min_pips_between_positions - multiplier for Min_pips_between_positions when opening the next position.
    • Total_open_transactions - maximum number of simultaneously open positions;
    • Total_open_for_Buy_and_Sell - if "false", then Total_open_transactions is applied separately for Buy transactions and Sell transactions;
    • Total_deals_of_line_magics_for_one_symbol - the maximum number of simultaneously open positions with magic numbers from "Line_Magics" by the chart symbol; valid for values greater than 0; this parameter limits the opening of the first position and does not limit the opening of averaging positions.
    • Total_deals_of_line_magics_for_all_symbols - the maximum number of simultaneously open positions with magic numbers from "Line_Magics" for all symbols; valid for values greater than 0; this parameter limits the opening of the first position and does not limit the opening of averaging positions.
    • Total_deals_for_one_symbol_so_as_not_to_open_new_symbol - the maximum number of simultaneously open positions with magic numbers from "Line_Magics" for any one symbol, at which the first positions will not be opened for other symbols; valid for values greater than 1.
    • Line_Magics - line of magic numbers of positions; if empty, then the number of open positions is calculated for all (any) magic numbers.
    • TrailingStop - trailing stop value. 0 - disabled;
    • Trailing_Start - necessary amount of points from an position Open price for setting a trailing stop;
    • Duration_minutes_after_open - necessary amount of minutes after an position Open price for setting a trailing stop;
    • Max_GAP - minimum GAP to trigger a pause, works at value more than 0;
    • Duration_Pause_Minut_at_GAP - pause size at GAP in minutes, works at value more than 0;
    • ==== TIMING ====
    • GMT_Open_Trade_Hour - hour to start opening of transactions, GMT;
    • GMT_Open_Trade_Minute - minute to start opening of transactions, GMT;
    • Period_Open_in_minute - time duration for opening of transactions in minutes;
    • GMT_Open_Pause_Hour - hour to start a pause in opening of transactions, GMT;
    • GMT_Open_Pause_Minute - minute to start a pause in opening of transactions, GMT;
    • Period_Pause_in_minute - pause duration in minutes;
    • Use_Special_Monday - enable/disable a special mode for the opening time of transactions on Monday;
    • GMT_Monday_OH - time to start opening trades on Monday;
    • multiplier_of_trade_lot_for_opening_of_week - lot multiplier for the EA trades during the market opening on Monday;
    • Use_Special_Friday - enable/disable a special mode for the opening time of transactions on Friday;
    • GMT_Friday_CH - time to stop opening trades on Friday;
    • Use_Not_Closing_Time - activate position closing time only for real SL and real TP (without other EA closings);
    • Not_Closing_Hour_GMT - start hour for "Use_Not_Closing_Time", GMT;
    • Not_Closing_Minute_GMT - start minute for "Use_Not_Closing_Time", GMT;
    • Period_Not_Closing_in_minute - duration in minutes for "Use_Not_Closing_Time";
    • Only_for_negative_positions - apply "Use_Not_Closing_Time" only to positions in the negative zone;
    • Reconfiguration_Time_select - to shift "GMT_Open_Trade_Hour" and "GMT_Open_Pause_Hour" on a number of hours ("Offset_Hours") in the period of time determined by parameters ("Month_start_RCT", "Day_start_RCT", "Month_end_RCT", "Day_end_RCT");
    • Offset_Hours - time shift of work of the expert in hours;
    • Month_start_RCT - month of the beginning of shift of work of the expert;
    • Day_start_RCT - day of the beginning of shift of work of the expert;
    • Month_end_RCT - month of the end of shift of work of the expert;
    • Day_end_RCT - day of the end of shift of work of the expert;
    For ease standard points are always indicated in the parameters (by the 4th digit). On five-digit brokers points are recalculated automatically.

    ‌‌

    Highlights to pay attention to


    1. During live operation of the expert the GMT offset parameter is determined automatically based on local time of the computer (GMT_Offset_AUTO=true).

    This parameter provides synchronization of the expert settings with the MetaTrader server time.

    To ensure the correctness of settings it is necessary:

    • to compare the GMT time in expert information area on the chart of currency pair, to which the expert is attached, with http://time.is/GMT (or other reliable source).
    • If the values do not match, then set GMT_Offset_AUTO=false and set a value of GMT_Offset_Manual according to the instructions in https://www.mql5.com/en/blogs/post/682539

    2.  In order to activate the News filter function, enable "Allow WebRequest" and add https://ec.forexprostools.com/ to the URL list for WebRequest.

    To do this, open Tools > Options > Expert Advisors. Check the option "Allow WebRequests for listed URL:". Add https://ec.forexprostools.com/ and click OK.

    3. The expert works the same on any timeframe, as it automatically takes the necessary data from multiple timeframes.

    As the expert uses multiple timeframes for the analysis, it is necessary for the quotes of all timeframes (M1, M15, M30, H1, H4) to be downloaded in the terminal for testing. At the same time, the test itself is produced on the M1 timeframe.

    4. The expert writes down information about spread, slippage and other useful information at transactions, and also at a possibility of transactions.

    It is necessary for record of this information: to set the Record_Deals = true;

    It is necessary for viewing of this information: 

    • go to MQL4/Files in the terminal folder and open the corresponding file (this action can be made in time which isn't coinciding with time of opening of transactions by the expert and when there is no open transactions of the expert);
    • after viewing, close the file (that the expert could write down information further).


    frequently asked questions

    • Whether it is necessary to change magic numbers (magics)? In the expert there is a filter on currency pairs therefore if you use the expert on different currency pairs, then there is no need to change magic numbers of "magics".
    • What has caused distinction of transactions on accounts of different brokers? First, different brokers have a different behavior of change of spread value. I.e. spread values at different brokers change in different timepoints and on the different number of points. Secondly, different brokers have different suppliers of quotations. I.e. quotations at different brokers can differ a little. 

              

    The latest EA settings can be downloaded here:   https://www.mql5.com/en/blogs/post/747929

    Share it with friends: