SMC EA(ExpertSMC) User Guide Part 1

15 April 2024, 09:04
Jing Bo Wu
0
205

The Inputs Instructions

When you first use SMC EA, please remember its basic logic.

Choose one and only one entry signal can be selected in the Current Period Time Frame. When the entry signal outputs a long direction, if no filtering signal is added, the order will be placed immediately. If multiple filtering signals are added, all of these filtering signals must generate a long direction at the same time before placing an order. As long as one filtering signal does not generate a long direction, it does not meet the conditions for placing an order. The program allows adding filtering signals under multi-TFs, and multiple filtering signals can be added under each TF. Special attention should be paid here to the option setting of signal validity period(Last Signal Expiration) for each filter signal. This option is to extend the time of a certain signal, as many signals are only generated on a certain bar.

For example: 

If my strategy is to place an order if FVG appears within 10 bars after the main line and signal line of MACD intersect in the Current Period (assume 15m). Meanwhile, in HTF (assuming 1 day), Price needs to be above MA and MA is upward. So I should set it this way:

  1. First, select FVG as the entry signal, and set the desired bull/bear signal mode and entry mode in the FVG Signal Parameters area. Here, we want to enter the market immediately after FVG appears, so we choose "FVG Formed" for the "Signal Bull/Bear Pattern Usage" and "Trade at Market Price" for the "Signal Entry Pattern Usage". 
  2. The second step is to set the required SL and TP. You can choose fixed Pips or ATRs, or choose to use the SL and TP provided by the entry signal or filter signal.
  3. The third step, turn on MACD filter on Current Period, and set "Signal Bull/Bear Pattern Usage" to "Look for an intersection of the main and signal line". Set "Last Signal Expiration" to 10.
  4. At last, turn on MA filter on Timeframe Day1, and set "Signal Bull/Bear Pattern Usage" to "Close Price Above/Below the indicator, MA is upwards/downwards".


===========INPUTS FOR EXPERT===========

  • EA Magic Number: a unique identifier that distinguishes between different orders or trades placed by an Expert Advisor (EA). Make sure each EA you are using has a different magic number.

  • EA Run in Every Tick: This parameter is used to decide on price action checks if it will be done on tick or on the formation of a 1 minute. Currently, all signals do not require an On Tick level, so the default setting is false.


===========INPUTS FOR ENTRY SIGNAL===========

-----------General Settings-----------

  • Select Entry Signal for trade in Current Period: Here, we select the entry signals for trading. The program has 10+ built-in entry signals for selection, and the entry signals can be further expanded according to user needs in the future. After selecting the entry signal, you need to set the parameters of the signal in the corresponding signal parameter setting area. 

  • Select SL Type: There are 6 types to choose. 

    1. No SL: No stop loss is set for orders.
    2. SL in Points: Set a fixed number of points as the stop loss for the order.
    3. SL in ATRs: Set a fixed multiple ATRs as the stop loss for the order.
    4. Swing High/Low: Use the recent swing high as a stop loss for short orders and the recent swing low as a stop loss for long orders.
    5. SL Provided by Entry Signal: Use the stop loss type set by the entry signal as the stop loss for the order. Each entry signal may provide multiple stop loss types, which can be set in the entry signal parameter setting area.
    6. SL Provided by Filter: We may have added multiple filtering signals to the entry signal, each of which can provide a different stop loss type. Here, we can choose the stop loss type provided by the filtering signal as the stop loss for the order.  Each filtering signal may provide multiple stop loss types, which can be set in the filtering signal parameter setting area.
  • ---ATR Peroid: If SL in ATRs is selected above, the ATR Period needs to be set here.

  • ---Stop Loss level (in pips/ATR): Set specific numerical values for SL in Pips or SL in ATRs. If the number of decimal digits of the price is 3 or 5, 1Pips = 10Points, else 1Pips = 1Point.

  • Set SL Offsets(in ATR): Add an offset to the standard SL selected above. Positive value will increase SL, negative value will decrease SL.

  • Select TP Type:  There are 7 types to choose.

    1. No TP: No take profit is set for orders.
    2. TP in Points: Set a fixed number of points as the take profit for the order.
    3. TP in ATRs: Set a fixed multiple ATRs as the take profit for the order.
    4. "X" SL: Use a fixed multiple of SL as the take profit for the order.
    5. Swing High/Low: Use the recent swing high as a take profit for long orders and the recent swing low as a take profit for short orders.
    6. TP Provided by Entry Signal: Use the take profit type set by the entry signal as the take profit for the order. Each entry signal may provide multiple take profit types, which can be set in the entry signal parameter setting area.
    7. TP Provided by Filter: We may have added multiple filtering signals to the entry signal, each of which can provide a different take profit type. Here, we can choose the take profit type provided by the filtering signal as the take profit for the order.  Each filtering signal may provide multiple take profit types, which can be set in the filtering signal parameter setting area.
  • ---Take Profit level (in pips/ATR):  Set specific numerical values for TP in Pips or TP in ATRs.   If the number of decimal digits of the price is 3 or 5, 1Pips = 10Points, else 1Pips = 1Point.

  • ---TP "X" Value: Set the "X" values for "X" SL selected above.

  • Set TP Offsets(in ATR):  Add an offset to the standard TP selected above.  Positive value will increase TP, negative value will decrease TP.

  • -

  • MS Length (Depth) for Swing High/Low:  This is used for the smc indicator that is implemented to analyze market structure, and it has an impact on where to set the SL/TP if the option Swing High/Low is used.

  • Expiration of pending orders (in bars):  This parameter will allow you to set an expiration time for your orders, 0 means no expiration time is set, 2 indicates that the expiration time of the order is 2 bars. For example, when trading on the 1 hour, 2 means that the expiration time of the order is 2 hours.

  • Maximum number of orders: The maximum number of orders allowed by EA, which will include the existing positions.

  • Minimum Distance between two pos(in pips)(0 means No restrictions): Limit the distance between the nearest two positions in the same direction.

  • Breakeven when previous positions are in loss: When the float loss of the previous position exceeds the specified value, the current order to be entered and the previous order execute a breakeven strategy.

  • ---Loss Threshold (in points): If the above selection is true, set the floating loss value here.

  • Close Positions When opposite signal: When the entry signal shows a signal in the opposite direction, Close Position.

  • -

  • Trade Only in Defined Kill zone:  Trading Window, If set to false, the trades will run the entire day. If set to true, you need to set the starting and ending hours of your kill zone.

  • ---Killzone Begin Hour(0-23):  Starting hour of the kill zone

  • ---Killzone Begin Minute(0-59):  Starting minute of the kill zone

  • ---Killzone End Hour(0-23):  Ending hour of the kill zone

  • ---Killzone End Minute(0-59):  Ending minute  of the kill zone

  • -

  • Close Positions at Certain Time:  If true, the EA will close all sell or buy trades at the defined close position time.

  • ---Hour to Close Positions(0-23):  Closing Hour of all open positions

  • ---Minute to Close Positions(0-59):  Closing Minute of all open positions

  • Cancel Orders at Certain Time:   If true, the EA will delete all pending orders at the defined delete orders time.

  • ---Hour to Cancel Orders(0-23):  Deleting Hour of all open orders

  • ---Minute to Cancel Orders(0-59):  Deleting Minute of all open orders

  • -

  • Use Daily Profit Limit: This will allow you to activate the daily profit limitation. 

  • ---Max Daily Profit %:

  • Use Daily Drawdown Limit:  This will allow you to activate the daily drawdown limitation. 

  • ---Max Daily DD %:


-----------Composite-Candle Signal Parameter settings-----------

  • Turn On/Off Candles Signal as filter On Current Period:   If this signal is not selected as an entry signal, it can be used as a filter signal. If selected, then this option cannot be true, even if set to true, it will not work. 

  • Signal Bull/Bear Pattern Usage: Each signal provides several pattern modes for users to choose from. Composite-Candle Signal offers two pattern modes to choose from.

  1. Composite-Candle is bull/bear: The program detects the candles of the latest 3 to ' Max Range for Pattern Search '. If their price fluctuation is greater than the set ' Minimum Fluctuation Range of Price (in ATR) ', these candles are combined into one Candle. If the upper shadow of this combined Candle is less than the 'Shadow Small' and lower shadow of this combined Candle is greater than ' Shadow Big', it will generate a long signal. If the lower shadow of this combined Candle is less than the 'Shadow Small' and upper shadow of this combined Candle is greater than ' Shadow Big', it will generate a short signal.
  2. Composite-Candle is bull/bear and Price near the Swing High/Low: When a combined Candle that meets the conditions appears and it appears near Swing High/Low, it generates a bull/bear signal.
  • Signal Entry Pattern Usage: 

  1. Trade at Market Price: When there is a bullish or bearish signal, immediately enter at the market price.
  • ---Max Range for Pattern Search(in bars): Set the maximum search number of candles.

  • ---Minimum Fluctuation Range of Price(in ATR):  Set the minimum price fluctuation range for Composite-Candle.

  • ---ATR Period for Candles:  Set the ATR Period to determine the magnitude of price fluctuations.

  • ---Shadow Big for Candles Pattern: Multiply this value by the difference between the high and low of the combined candle.

  • ---Shadow Small for Candles Pattern: Multiply this value by the difference between the high and low of the combined candle.

  • ---Candles Mode Usage: 3 modes to choose from. By default, select Classic mode.

  1. Classic:  shadow_h=high-((open>close)?open:close); shadow_l=((open<close)?open:close)-low;
  2. Modern 1:  shadow_h=high-close; shadow_l=((open<close)?open:close)-low;
  3. Modern 2:  shadow_h=high-close; shadow_l=open-low;
  • Signal Inverting: When we need to trade in the opposite direction of the entry signal, we can set this option to True. For example, when our entry signal selects MarketStructurue, we sell when a Bull BOS occurs, and buy when a Bear BOS occurs. When used as a filter signal, this parameter causes it to output a reverse signal.

  • Last Signal Expiration(Candles nums):This option only takes effect when this signal is used as a filter signal. Some signals are only generated on a certain candle, and when using them as filters, we want them to generate signals on several consecutive candles, so we need to set Signal Expiration for them. For example, we use FVG as the entry signal, Timeframe1 selects Current, Turn on MACD signal as the filter, and select "Look for an intersection of the main and signal lines" as the signal mode. The MACD signal is only generated when the main and signal lines intersect. If there is no FVG formed signal at this time, the trading conditions will not be met. Therefore, we need to set the Signal Expiration for the MACD signal. Assuming it is set to 7, in the 7 candles after the main and signal lines intersect, if there is an FVG formed signal, it can be generated a Trading signal.

  • Select SL Type Provided by the Signal: If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set: 
  2. High/Low of the Composite-Candle: Use the high and low points of the combination candle as a stop loss.
  • Select TP Type Provided by the Signal:  If the TP TYPE is set to "TP Provided by Entry Signal" in the general settings section, then the TP Type set here will be used for the order.

  • -


-----------MA Signal Parameter settings-----------

  • Turn On/Off MA Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage: 

  1. Close Price Above/Below the indicator
  2. CloseP above MA, OpenP below MA, MA is upwards
  3. CloseP and OpenP above MA, LowP below MA, MA is upwards
  • Signal Entry Pattern Usage

  1. Trade at Market Price: When there is a bullish or bearish signal, immediately enter at the market price.
  • ---MA Period

  • ---MA Shift

  • ---MA Method

  • ---MA Applied 

  • Signal Inverting: The principle is the same as above.

  • Last Signal Expiration(Candles nums): The principle is the same as above.

  • -


-----------MACD Signal Parameter settings-----------

  • Turn On/Off MACD Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. MACD line is upwards
  2. MACD line has a reverse
  3. Look for an intersection of the main and signal line
  4. Look for an intersection of the main line and the zero level
  5. Look for the "divergence" signal
  6. Look for the "double divergence" signal
  • Signal Entry Pattern Usage:

  1. Trade at Market Price: When there is a bullish or bearish signal, immediately enter at the market price.
  • ---MACD Period for fast

  • ---MACD Period for slow

  • ---MACD Period for signal

  • ---MACD Applied

  • Signal Inverting:

  • Last Signal Expiration(Candles nums): The principle is the same as above.

  • -


-----------RSI Signal Parameter settings-----------

  • Turn On/Off RSI Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. Oscillator is directed upwards/downwards
  2. Search for a reverse of the oscillator upwards/downwards behind the level of overselling(RSI<30)/overbuying(RSI>70)
  3. Search for the "failed swing" signal
  4. Search for the "divergence" signal
  5. Search for the "double divergence" signal
  6. Search for the "head/shoulders" signal
  • Signal Entry Pattern Usage:

  1. Trade at Market Price : When there is a bullish or bearish signal, immediately enter at the market price.
  • ---RSI Period for fast: The "period of calculation" parameter of the oscillator.

  • ---RSI Applied: The "prices series" parameter of the oscillator.

  • Signal Inverting:

  • Last Signal Expiration(Candles nums): The principle is the same as above.

  • -


-----------WPR Signal Parameter settings-----------

  • Turn On/Off WPR Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. the oscillator is directed upwards
  2. search for a reverse of the oscillator upwards behind the level of overselling
  3. search for the "divergence" signal
  • Signal Entry Pattern Usage:

  1. Trade at Market Price : When there is a bullish or bearish signal, immediately enter at the market price.
  • ---WPR Period for fast: The "period of calculation" parameter of the oscillator.

  • Signal Inverting:

  • Last Signal Expiration(Candles nums): The principle is the same as above.

  • -


-----------BreakerBlocks Signal Parameter settings-----------

  • Turn On/Off BreakerBlock Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. BB formed and LowP above BB bottom or HighP below BB top
  • Signal Entry Pattern Usage:

  1. Trade at Market Price: When there is a bullish or bearish signal, immediately enter at the market price.
  2. Trade at Block Price: Trade at Breaker Block Price.
  3. Mean threshold Price: Trade at the mean threshold price of the Block.
  • ---BB iStructure Algo: Internal MS algorithm select.

  • ---BB iStructure Break Type: Break Type for Internal MS.

  • ---BB iStructure Length:  Depth for indicator to analyze internal market structure.

  • ---BB sStructure Algo:  Swing MS algorithm select.

  • ---BB sStructure Break Type:  Break Type for swing MS.

  • ---BB sStructure Length:  Depth for indicator to analyze swing market structure.

  • Signal Inverting:

  • Select SL Type Provided by this Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set
  2. Breaker Block High/Low:  Use the high and low points of the breaker block as a stop loss.
  3. N-Shape High/Low:  Use the high and low points of the N-Shape as a stop loss.
  • Select TP Type Provided by this Signal: 

  • -


-----------BSL/SSL Signal Parameter settings-----------

  • Turn On/Off BSL/SSL Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. BSL/SSL formed,LowP above BSL or HighP below SSL
  2. BSL/SSL formed
  • Signal Entry Pattern Usage:

  1. Trade at Market Price:  When there is a bullish or bearish signal, immediately enter at the market price.
  2. Mean threshold Price: 
  • ---BSL/SSL iStructure Algo:  Internal MS algorithm select.

  • ---BSL/SSL iStructure Break Type:  Break Type for Internal MS.

  • ---BSL/SSL iStructure Length:  Depth for indicator to analyze internal market structure.

  • ---BSL/SSL sStructure Algo:  Swing MS algorithm select.

  • ---BSL/SSL sStructure Break Type:  Break Type for swing MS.

  • ---BSL/SSL sStructure Length:  Depth for indicator to analyze swing market structure.

  • Signal Inverting:

  • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set 
  2. BSL/SSL Region High/Low
  • Select TP Type Provided by this Signal:

  • -


-----------FiboRe Signal Parameter settings-----------

  • Turn On/Off FiboRe Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage: 

  1. FiboRe exceeding set value: Fibo-Re level exceeding 'FiboRe MinRe' and less than 'FiboRe MaxRe'.
  • Signal Entry Pattern Usage:

  1. Trade at Market Price:  When there is a bullish or bearish signal, immediately enter at the market price.
  2. The Price of Max FiboRe Pre-set: Maximum level price of Fibo-Retracement.
  3. The Price of Min FiboRe Pre-set: Minimum level price of Fibo-Retracement.
  • ---FiboRe iStructure Algo:   Internal MS algorithm select.

  • ---FiboRe iStructure Break Type: Break Type for Internal MS.

  • ---FiboRe iStructure Length: Depth for indicator to analyze internal market structure.

  • ---FiboRe sStructure Algo: Swing MS algorithm select.

  • ---FiboRe sStructure Break Type: Break Type for swing MS.

  • ---FiboRe sStructure Length: Depth for indicator to analyze swing market structure.

  • ---FiboRe FBR Type: Choose Internal MS or Swing MS for Fibo-Re.

  • ---FiboRe MinRe for Signal: Minimum level for Fibo-Re.

  • ---FiboRe MaxRe for Signal: Maximum level for Fibo-Re.

  • Signal Inverting:

  • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set
  2. Market Structure High/Low 
  3. User Set Fibo-Re Level for SL: Set the specified Fibo-Re level value in the following settings.
  • ---FiboRe Level for SL:  Set the specified Fibo-Re level value for SL.

  • Select TP Type Provided by this Signal

  • -


-----------FVG Signal Parameter settings-----------

  • Turn On/Off FVG Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. FVG formed
  2. FVG formed and 3 bull/bear candles in a row pattern
  • Signal Entry Pattern Usage:

  1. Trade at Market Price: When there is a bullish or bearish signal, immediately enter at the market price.
  2. Mean threshold Price of the FVG: 
  3. FVG Top/Btm Price: Top/Btm Price of the FVG Block.
  • ---FVG Period: The time frame parameter of the FVG.

  • ---FVG Filled Type: Select FVG filled type.

  • ---FVG MiniSize Filter: FVG Threshold (minval=0.1, step=0.1).

  • Signal Inverting:

  • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set
  2. FVG Block High/Low: 
  3. FVG 3 Candles High/Low: The high and low points of the three candles that form FVG.
  • Select TP Type Provided by this Signal

  • -


-----------Killzone Signal Parameter settings-----------

  • Turn On/Off KZ Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. Price break KZ:  Within the set KILLZONE time, the price will form a rectangular area. When the price breaks through the high and low points of this rectangular area, a signal is generated. For example, we can set the time of KZ for AsiaRange and enter long or short positions when the price breaks through the high and low points of AsiaRange.
  2. Prohibited trade outside the KZ time: This mode is mainly used to set the time interval for trading, without trading outside the interval. 
  • Signal Entry Pattern Usage:

  1. Trade at Market Price:  When there is a bullish or bearish signal, immediately enter at the market price.
  2. Mean threshold Price: Use the middle price of Killzone as the open price.
  • ---Killzone Begin Hour:  Starting hour of the kill zone

  • ---Killzone Begin Minute:  Starting minute of the kill zone

  • ---Killzone End Hour:  Ending hour of the kill zone

  • ---Killzone End Minute:  Ending minute  of the kill zone

  • ---Killzone Label Text: This parameter specifies the KZ label text that would let easy to view on the chart.

  • ---Killzone Show Last: This parameter is set to display the maximum number of KZ rectangles on the chart.

  • ---Killzone Show Predict: This parameter is set to display the predicted Level on the chart.

  • Signal Inverting:

  • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set
  2. KZ ZONE High/Low: Use the high and low points of the KZ region as stop loss for orders. 
  • Select TP Type Provided by this Signal

  • -


-----------Market Structure Signal Parameter settings-----------

  • Turn On/Off MarketStructure Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. MS formed: CHOCH(MSS) and BOS formed signal.
  2. CHOCH formed:  CHOCH(MSS) formed signal.
  3. BOS formed: BOS formed signal.
  • Signal Entry Pattern Usage:

  1. Trade at Market Price: When there is a bullish or bearish signal, immediately enter at the market price.
  2. Mean threshold Price: Middle price of MS structure
  3. MS Top/Bottom Price: The high and low points of MS structure
  • ---MS Structure Algo:  MS algorithm select.

  • ---MS Structure Break Type:  Break Type for MS.

  • ---MS Structure Length(Depth):  Depth for indicator to analyze market structure.

  • Signal Inverting:

  • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

  1. Not Set
  2. Market Structure High/Low 
  • Select TP Type Provided by this Signal

  • -


-----------NWOG/NDOG Signal Parameter settings-----------

  • Turn On/Off NWOG/NDOG Signal as filter On Current Period: The principle is the same as above.

  • Signal Bull/Bear Pattern Usage:

  1. NWOG formed and CloseP above/below NWOG
  2. Price callback to NWOG region
  3. NDOG formed and CloseP above/below NDOG
  4. Price callback to NDOG region
  • Signal Entry Pattern Usage:

  1. Trade at Market Price
  2. Meanthreshold Price
    • Signal Inverting:

    • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

    1. Not Set
    2. NWOG/NDOG Block High/Low
    • Select TP Type Provided by this Signal

    • -


    -----------OrderBlock Signal Parameter settings-----------

    • Turn On/Off OrderBlock Signal as filter On Current Period: The principle is the same as above.

    • Signal Bull/Bear Pattern Usage:

    1. OB/iOB formed: Swing OrderBlocks and Internal OrderBlocks formed signals.
    2. OB/iOB touched:  Swing OrderBlocks and Internal OrderBlocks touched signals.
    3. OB/iOB break:  Swing OrderBlocks and Internal OrderBlocks break signals.
    4. OB formed
    5. iOB formed
    6. OB touched
    7. iOB formed
    8. OB break
    9. iOB break
    • Signal Entry Pattern Usage:

    1. Trade at Market Price
    2. Meanthreshold Price: Meanthreshold Price of the Order Block
    3. OB Top/Btm Price: Top or Bottom Price of the Order Block
    • ---OB iStructure Algo: Internal MS algorithm select.

    • ---OB iStructure Break Type:  Break Type for internal MS.

    • ---OB iStructure Length:  Depth for indicator to analyze internal market structure.

    • ---OB sStructure Algo:  Swing MS algorithm select.

    • ---OB sStructure Break Type:  Break Type for swing MS.

    • ---OB sStructure Length:  Depth for indicator to analyze swing market structure.

    • Signal Inverting:

    • Select SL Type Provided by the Signal:  If the SL TYPE is set to "SL Provided by Entry Signal" in the general settings section, then the SL Type set here will be used for the order.

    1. Not Set
    2. OB Block High/Low
    • Select TP Type Provided by this Signal

    • -


    Share it with friends: