# EA INPUT Describe

![](https://336892245-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVjBgAJnVI2mruGw1wLX%2Fuploads%2F2wRq86VYVxuAMfdzSgcV%2Fimage.png?alt=media\&token=1ce316af-4ebc-4973-9d78-7e23f78a5d2f)

![](https://336892245-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtVjBgAJnVI2mruGw1wLX%2Fuploads%2FG4ifbvjLea51tu6DKtOM%2Fimage.png?alt=media\&token=5ded3d74-fc6f-4af5-9608-1c9c6ae4bb90)

✳️Telegram Token => Token Bot when create with BotFather

✳️Signal Provider

\=> Use **REDFOX\_SIGNAL** when you use signals from RedFox, **OTHER\_SIGNAL** when use signal other.

✳️LOTSIZE MODE

&#x20;     \=>**AUTO\_LOT** : If you want auto calculator position size by % of Balance to risk in one trade

&#x20;     \=>**FIXED\_LOTSIZE**: If you want fix position size

✳️Account Balance => Use to calculator position size when **LOTSIZE MODE** =**AUTO\_LOT**&#x20;

✳️% of balance to risk in one trade => Use to calculator position size when **LOTSIZE MODE** =**AUTO\_LOT**  and **Number open order by TP =1**

✳️Lotsize Fixed => Position size when open order and use **LOTSIZE MODE** =**FIXED\_LOTSIZE** and **Number open order by TP =1**

✳️Number open order by TP&#x20;

\=> **Number of open orders same signal**

**E.g: Number = 3 if will open 3 orders with TP respectively TP1 TP2 TP3 of signal**

**=== CONFIG FIXED\_LOTSIZE FOR OPEN BY TP ===**

{% hint style="warning" %}
Config will activated when Number open order > 1&#x20;

and **LOTSIZE MODE** =**FIXED\_LOTSIZE**
{% endhint %}

✳️Lotsize TP1 =>  Position size for order one

✳️Lotsize TP2 =>  Position size for order two

✳️Lotsize TP3 =>  Position size for order three

**=== CONFIG AUTO\_LOT FOR OPEN BY TP ===**

{% hint style="warning" %}
Config will activated when Number open order > 1&#x20;

and **LOTSIZE MODE** =**AUTO\_LOT**&#x20;
{% endhint %}

✳️% of balance to risk for TP1 **=>** Auto calculator Position size for order one

✳️% of balance to risk for TP2 **=>** Auto calculator Position size for order two

✳️% of balance to risk for TP3 **=>** Auto calculator Position size for order three

**=== Config SL & TP ===**

{% hint style="warning" %}
Note: FIXED,ATR only support open with a TP order
{% endhint %}

✳️Set SL & TP by

&#x20;     **=> SAME\_AS\_SIGNAL** : SL, TP will same signal

&#x20;     **=> SL\_TP\_FIXED**: SL, TP will fixed

&#x20;     **=> TP\_FIXED**: TP will fixed and SL same signal

&#x20;     **=> SL\_FIXED**: SL will fixed and TP will same signal

&#x20;     **=> ATR**: SL, TP will by ATR

**== SL & TP FIXED==**

✳️SL Pips Fixed : Number of pips to be set for SL

✳️TP Pips Fixed : Number of pips to be set for TP

**== SL & TP BY ATR ==**

✳️ATRPeriod

✳️SLATRMultiplier

✳️TPATRMultiplier

**========== MODE TRADE ==========**

**-----\[CLOSE CONFIG]-----**

✳️Percent Lot Close When TP1 (ex.1-100%) => When order hit TP1 it will auto close lotsize by percent&#x20;

✳️Percent Lot Close When TP2 (ex.1-100%) => When order hit TP2 it will auto close lotsize by percent&#x20;

✳️Active Close when pips to => When order hit pips config it will auto close lotsize by percent&#x20;

✳️Percent Lot Close When pips to target (ex.1-100%) => Percent close lotsize when hit pips

\-----\[MOVE SL CONFIG]-----

✳️Active Move SL when target to TP1&#x20;

&#x20;    \=> Config move SL when price hit TP1 with option **SL\_TO\_ENTRY**

✳️Active Move SL when target to TP2

&#x20;    \=> Config move SL when price hit TP1 with option **SL\_TO\_ENTRY, SL\_TO\_TP1**

✳️Active Move SL when pips to => When order hit pips config it will handle move sl&#x20;

✳️Move SL when pip to target&#x20;

&#x20;    Config move SL when pips hit target with option **SL\_TO\_ENTRY, SL\_TO\_TP1**

✳️Extra pips for sl target => Plus pips to price when move sl

\========== ORDER CONFIG ==========

✳️Open order same type by&#x20;

&#x20;    \=> DISTANCE\_TIME : Config allow  open same type by time

&#x20;    \=> DISTANCE\_PIPS: Config allow open same type by pips

✳️Time distance to open order same type (seconds) => Config for DISTANCE\_TIME&#x20;

✳️Pips distance to open order same type (pips) => Config for DISTANCE\_PIPS

✳️Limit orders allowed to open same type(Default 0: No Limit)

&#x20;   \=> Limit orders allowed to open same type in list order running

✳️When have order opposite type => If you want close order opposite you can select **CLOSE\_ORDER\_PREVIOUS**

✳️Skip Open Order Without TP AND SL => true if you want open order Without TP AND SL

\========== TRAILING STOP ==========

✳️Active Trailing Stop when target to

✳️Points Of Distance From The Current Stop

✳️Points Of Increment The Current Stop

\========== FILTERS ==========

✳️Filter Signals Mode

&#x20;   \=> ALL : No filter

&#x20;   \=> INCLUDE : Only open order in list symbols filter

&#x20;   \=> EXCLUDE : Skip open order in list symbols filter

✳️Enter Symbols Filter (ex: XAUUSD,EURUSD,.or skip) => Enter list symbols

✳️FILTER TYPE OPEN

&#x20;   \=>BUY\_SELL: Allow open all type

&#x20;   \=>ONLY\_BUY : Only allow open order type BUY

&#x20;   \=>ONLY\_SELL : Only allow open order type SELL

\=== TIME FILTER ===

✳️Start hour => Time bot will start  work time(E.g: 00)

✳️Ending hour => Time bot will end work(E.g: 24)

\========== SLIPPAGE ==========

✳️Enable Slippage => Turn on config Slippage

✳️Enter Slippage => Slippage allow open order

✳️Slippage conditions => Add conditions when open order been Slippage

\========== OTHERS ==========

✳️Suffix symbol ( Ex: XXXUSDc -> c ) => Add Suffix if symbols have contain Suffix&#x20;

✳️Limit of orders allowed to open (Default 0: No Limit)=> Limit order open
