Portfolio Creator Settings

7 November 2020, 21:18
Raphael Schwietering
0
190

For Update, Informations, Settings, Help and if you have a new idea i have created a 

Telegram Group for Portfolio Creator Members: https://t.me/joinchat/K-WwIRrsfb4CILLQ6xI3AQ
    SETTINGS PAGE FOR PORTFOLIO CREATOR:




    // -|-|-|-|-|-|-|-|__GENERAL EXPERT SETTINGS__-|-|-|-|-|-|-|-| 



    // Set Your EA settings name for your reference

    This EA allows you to create several portfolios with different strategies. To be easier to manage your Set files you can set here a name.


    // Show Infopanel on Chart

    Switch the Infopanel on Chart On/Off. For Backtesting recommend to set to false.


    // Custom Order Comment

    Enter a Custom Comment to identify trades from this EA in your MT. If you use this EA with different Portfolios its recommend to use different Order comment. 


    // MagicNumber (Set to 1-99)

    Enter the MagicNumber for this EA. Each strategie will have its own MagicNumber. You enter here the Base MagicNumber

    The last Digits are the StrategyNumbers

    So each strategy will have its own MagicNumber.


    // Choose Strategy Set Group

    Choose the Strategy Set you want to trade. For now we have 6 Strategy Sets with 100 different strategies.

    •    STRATEGY_SET_EURUSD_H1_1
      • EURUSD H1 strategies use it only on EURUSD H1 chart
      • This set consists 100 strategies with small Stop loss. If you use this EA will trade with this 100 strategies in a portfolio.
      • Strategy numbers are 0-99 if you want to make your own portfolio
    •    STRATEGY_SET_USDJPY_H1_1
      • USDJPY H1 strategies use it only on USDJPY H1 chart
      • This set consists 100 strategies with small Stop Loss. If you use this, EA will trade with this 100 strategies in a portfolio.
      • Strategy number are 100 -199 if you want to make your own portfolio.
    •    STRATEGY_SET_GBPUSD_H1_1 
      • GBPUSD H1 strategies use it only on GBPUSD H1 chart
      • This set consists 100 strategies with small Stop Loss. If you use this, EA will trade with this 100 strategies in a portfolio.
      • Strategy number are 200-299 if you want to make your own portfolio.
    •    STRATEGY_SET_USDCHF_H1_1
      • USDCHF H1 strategies use it only on USDCHF H1 chart
      • This set consists 100 strategies with small Stop Loss. If you use this, EA will trade with this 100 strategies in a portfolio.
      • Strategy number are 300-399 if you want to make your own portfolio.
    •    STRATEGY_SET_AUDUSD_H1_1
      • AUDUSD H1 strategies use it only on AUDUSD H1 chart
      • This set consists 100 strategies with small Stop Loss. If you use this, EA will trade with this 100 strategies in a portfolio.
      • Strategy number are 400-499 if you want to make your own portfolio.
    •    STRATEGY_SET_USDCAD_H1_1  
      • USDCAD H1 strategies use it only on USDCAD H1 chart
      • This set consists 100 strategies with small Stop Loss. If you use this, EA will trade with this 100 strategies in a portfolio.
      • Strategy number are 500-599 if you want to make your own portfolio.
    •    STRATEGY_SET_CUSTOMPORTFOLIO
      • Here you can create your own portfolio. You can fill here the strategy numbers you want to trade. 
      • Dash can also be used to enter a range, for example: 1-50, the EA will execute all the first 50 strategies of the Strategy Set.
      • The combination of commas and dash is also allowed, eg: 1,5,20-30,60,70
    •  SINGLE_STRATEGY_FOR_BACKTEST 
      • Here you can set only one strategy number to test. It is for Backtesting only and for run optimizer. You can check each strategy for its results. Run optimizer in MT4 and you can use with Start, Step, Stop.
      • If the results here feel good for you you can now use the good once for your own portfolio.


    // Choose your strategy for your portfolio, e.g 1-10,11,12,15,20

    A strategy Set have several strategies. Here you can put the strategy numbers which you want to use in your custom Portfolio.
    E.g. you can enter numbers like 1,2,3,4,5-10,20,25 to only trade this strategies.


    // Use for Backtest a Single Strategy 

    Choose Single_Strategy_For_Backtest in "Choose strategy Group" than you can let run the optimizer with Start, Step, Stop to let MT4 check each Single Strategy and its performance.

    You can fill good strategies to your custom Portfolio.


    // Stop Opening new Positions

    If false EA will not open any new positions, but will manage the open trades.


    // // -|-|-|-|-|-|-|-|__MONEY MANAGEMENT SETTINGS__-|-|-|-|-|-|-|-|



     

    // MM: 1.Percentage 2.Fixed 3.Geometrical 4.Proportional 5.XBalance

    Choose your Lotsize calculation. Here you have 5 different Entry Lots calculation Modes.

    • Percentage: LotSize is calculated by your Account Equity
    • Fixed: Fixed LotSize every trade will open with this Lot.
    • Geometrical:
    • Proportional:
    • XBalance: 
    • RiskPercent: Based on AccountEquity and StopLoss of each strategy

    // Maximum Lotsize

    Here you can enter the maximum Lotsize when EA is calculated it by the Lot size calculation options.

    // Entry Lots(Use for Fixed)

    If use Fixed then enter here the lot size you want for each trade.

    // Geometrical Factor(Use only for Geometrical)

    If use Geometrical than you can enter here the factor. Geometrical calculated the lotsize in this way.(0.1*MathSqrt(AccountBalance()/1000)*GeometricalFactor)

    // Proportional Risk Factor in % (Use for Proportional)

    If use Proportional than you can enter here the Proportional Risk factor. The Lotsize is calculated in this way. (AccountEquity()/Close[0]/1000*ProportionalRisk/100)

    // Entry Percent of Account Equity(Use for Percentage)

    If you use Percentage than you can enter here how much % of Account Equity you want to risk. The Lotsize is calculated in this way. (Entry_Percent/100)*AccountEquity()/margin)

    // Lot will increase based on xBalance Amount(Current Balance/XBalance * LotsizePerXBalance = Your current lots size)

    Every xBalance Amount Lotsize will be increased by Lotsize of XBalance. E.g Every 1000€ more Account Balance Lotsize will be increased by x

    // Lotsize of XBalance

    Enter here the Lotsize that will be increased. 

    // RiskPercent

    RiskPercent depends of your AccountEquity and the StopLoss each strategy have and determine the LotSize


    // -|-|-|-|-|-|-|-|__PROTECTIONS SETTINGS__-|-|-|-|-|-|-|-|




    // -|-|-|-|-|-|-|-|__TAKE PROFIT BASKET__-|-|-|-|-|-|-|-|

    // Use Take Profit Amount or Percent for all orders

    EA opens several trades simultanously and comes with his own stop loss and takeprofit. If you want to have a Take Profit also for all open trades than you can use it here. 

    Switch between:

    • NO TAKE PROFIT - This function is disabled.
    • USE TAKE PROFIT AMOUNT FOR ALL OPEN ORDERS - This function is enabled by amount you can set.
    • USE TAKE PROFIT IN PERCENT FOR ALL OPEN ORDERS - When enabled this than EA closed all trades if xx% profit of Account Balance reached.

    // Set Take Profit Amount for all open orders

    Here you can set the amount of take profit. E.g you want to close all when 1000$ reached.

    // Set Take Profit Percent for all open orders

    Here you can set the percentage of Account Balance to close all trades. E.g Balance 1000$ and you want to Take Profit 10% so EA will close all open trades when 100$ in profit.



    // -|-|-|-|-|-|-|-|__STOP LOSS BASKET__-|-|-|-|-|-|-|-|

    // Use Stop Loss Amount or Percent for all orders

    EA opens several trades simultanously and comes with his own stop loss and takeprofit. If you want to have a Stop Loss also for all open trades than you can use it here. 

    Switch between:

    • NO STOP LOSS - This function is disabled.
    • USE STOP LOSS AMOUNT FOR ALL OPEN ORDERS - This function is enabled by amount you can set.
    • USE STOP LOSS IN PERCENT FOR ALL OPEN ORDERS - When enabled this than EA closed all trades if xx% loss of Account Balance reached.

    // Set Stop Loss Amount for all open orders

    Here you can set the amount of stop loss. E.g you want to close all when 1000$ reached.

    // Set Stop Loss Percent for all open orders

    Here you can set the percentage of Account Balance to close all trades. E.g Balance 1000$ and you want to a Stop Loss of 10% so EA will close all open trades when -100$ in loss. 



    // -|-|-|-|-|-|-|-|__STOP TRADING REST OF DAY__-|-|-|-|-|-|-|-|


    // Use if stop trading rest of day when TP/SL Basket reached

    When you use TP/SL Basket function than ea closed all trades if TP or SL reached. Here you can use another option.

    When enabled this function than ea will not open any trades anymore that day and will go on to start the next day on XX:XX time.

    So if you have enabled this function and you set to start next day at 10:00 (Server Time, the time you can see in Market Watch) than ea begin to trade his strategies.

    // Starting hour next trading day (Server time)

    Here you can enter the hour when beginning to trade the next day.

    // Starting minute next trading day (Server time)

    Here you can enter the minute when beginning to trade the next day.


    // -|-|-|-|-|-|-|-|__SPREAD PROTECTION SETTINGS__-|-|-|-|-|-|-|-|




    // Use Spread protection

    Here you can enable Spread Protection. In some cases the Spread is very high e.g by high news. So Ea will not open any trades when spread is too high.

    // Maximum allowed Spread

    Enter here the maximum Spread allowed to open trades. E.g 10 than when Spread is 11 EA will not open a trade.

    // -|-|-|-|-|-|-|-|__MINIMUM EQUITY STOP__-|-|-|-|-|-|-|-|


    // Use minimum equity stop

    Here you can enable the equity stop function. Its like a Hard Stop Loss. When Equity is smaller than the amount you set it will close all trades and disable the EA.

    // Set minimum equity to stop

    Set the minimum equity do do this protection. E.g you have 1000$ Account Balance and you set 500$ equity stop. Than when 499$ reached EA close all trades and EA will stop.

    // -|-|-|-|-|-|-|-|__DRAWDOWN STOP SETTINGS__-|-|-|-|-|-|-|-|



    // Use Drawdown stop

    If you want to use a Drawdown stop you can enable it here. Enter your amount in percent to activate this function. 

    // Set Percent for Drawdown stop,e.g. 2.0 for 2% Drawdown

    Set the % for Drawdown Stop here. EA will close all Position and will be disabled.

    // -|-|-|-|-|-|-|-|__MAXIMUM OPEN ORDERS SETTINGS__-|-|-|-|-|-|-|-|



    // Use Max Open Position per Bar 

    Set to true if you want that one strategy can open only 1 position if in one Bar two signals were found

    // Set Max Open Position per Bar

    Set the number of positions allowed per Bar from one strategy

    // Use Max Open Long Positions

    Set to true if you want to use maximum open long positions

    // Set Max Open Long Positions

    Set the number how much long positions allowed, 0=no longs will be open

    // Use Max Open Short Positions

    Set to true if you want to use maximum open short positions

    // Set Max Open Short Positions

    Set the number how much short positions allowed, 0=no shorts will be open

    // Use Max Open Positions allowed

    Set to true if you want to use maximum open positions allowed

    // Set Max Open Positions

    Set the number for maximum allowed positions


    // -|-|-|-|-|-|-|-|__TRADING TIME SETTINGS__-|-|-|-|-|-|-|-|

    // -|-|-|-|-|-|-|-|__IN SEC FROM 00:00__-|-|-|-|-|-|-|-|


    Info: The time will be set in seconds. The easiest way to find out is to use this formula.

    // Monday - Thursday Open

    Here you can change session time to start EA trading.

    // Monday - Thursday Close

    Here you can change session time to close EA trading.

    // Friday Open

    Here you can change session time to start EA trading on friday.

    // Friday Close

    Here you can change session time to stop EA trading on friday.

    // Sunday Open

    Here you can change session time to start EA trading on sunday.

    // Sunday Close

    Here you can change session time to stop EA trading on friday.

    // Ignore Sunday

    If enabled no trades will be made on Sunday.

    // Ignore Monday

    If enabled no trades will be made on Monday.

    // Ignore Tuesday

    If enabled no trades will be made on Tuesday.

    // Ignore Wednesday

    If enabled no trades will be made on Wednesday.

    // Ignore Thursday

    If enabled no trades will be made on Thursday.

    // Ignore Friday

    If enabled no trades will be made on Sunday.

    // Close at session close

    If enabled EA will automatically close all trades at the end of your session you defined.

    // Close at friday close 

    If enabled EA will automatically close all trades at the end of your friday session.

    // -|-|-|-|-|-|-|-|__TRAILING STOP SETTINGS__-|-|-|-|-|-|-|-|




    // Use Trailing

    If you want to use a trailing stop you can switch it here on.

    // Use Virtual Trailing Stop

    If you want to hide the stop loss to broker you can use this method.

    // Choose Trailing method

    Choose here you rtrailing method. We have right now 7 different Trailing method.

    • by extremums of candlesticks
    • by fractals
    • by ATR indicator
    • by Parabolic indicator
    • by MA indicator
    • by profit % 
    • by points    

    // Offset from the stop loss calculation level

    // Timeframe of the indicators (0-CURRENT)
    // Stop Loss movement step
    // Minimal porfit to start trailing stop(in points)
    // Start trailing from Breakeven point
    // ATR Period (Method 3)
    // Parabolic step(Method 4)
    // Parabolic Maximum(Method 4)
    // MA Period (Method 5)
    // Averaging Method (Method 5)
    // Price type (Method 5)

    // Percent of Profit (Method 6)










    Share it with friends: