The strategy employs several sets of stochastic indicators with unique period settings, categorized into white, pink, and green groups, to identify potential entry signals. Risk management is handled through fixed stop loss and take profit parameters, along with a limit on the total number of open positions. The robot also includes a time filter to restrict trading to specific hours and an optional daily close feature to exit all positions at a designated time.
Read from Stochastic_Cross_EA.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Magic_Number
int
1
Entry_Lot
double
0.1
Max_Positions
int
3
Stop_Loss
double
20
Take_Profit
double
20
Daily_Close
bool
False
Close_Hour
int
4
Open_Hour
int
8
Normal_KPeriod
int
89
Normal_DPeriod
int
21
Normal_Slowing
int
10
Normal_MA_Method
int
3
Normal SMA 0, EMA 1, SMMA 2, LWMA 3
Show all 40 inputs
Name
Type
Default
Description
Normal_PriceField
int
1
Normal Low/High 0, Close/Close 1
Normal_Disable_Range_Bottom
int
100
Normal_Disable_Range_Upper
int
0
Normal_Buy_Line
int
10
Normal_Sell_Line
int
90
IIIIIIIIIIIIIIIIIIIIIIIIIIII
string
>>> Normal White Stochastic Settings >>>>>>>>>>>>>>>
Normal_White_K_period
int
89
Normal_White_D_period
int
6
Normal_White_S_period
int
5
IIIIIIIIIIIIIIIIIIIIIIIIIIIII
string
>>> Normal Pink1 Stochastic Settings >>>>>>>>>>>>>>>
Normal_Pink1_K_period
int
89
Normal_Pink1_D_period
int
13
Normal_Pink1_S_period
int
6
IIIIIIIIIIIIIIIIIIIIIIIIIIIIII
string
>>> Normal Pink2 Stochastic Settings >>>>>>>>>>>>>>>
Normal_Pink2_K_period
int
89
Normal_Pink2_D_period
int
21
Normal_Pink2_S_period
int
7
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
string
>>> Normal Pink3 Stochastic Settings >>>>>>>>>>>>>>>
Normal_Pink3_K_period
int
89
Normal_Pink3_D_period
int
34
Normal_Pink3_S_period
int
8
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
string
>>> Normal Green1 Stochastic Settings >>>>>>>>>>>>>>>
Normal_Green1_K_period
int
89
Normal_Green1_D_period
int
55
Normal_Green1_S_period
int
9
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
string
>>> Normal Green2 Stochastic Settings >>>>>>>>>>>>>>>
Normal_Green2_K_period
int
89
Normal_Green2_D_period
int
89
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone KotaroHashimoto/kobayashi from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr
This MetaTrader 4 expert advisor is designed for gold scalping using a combination of Relative Strength Index and Exponential Moving Average indicators. It identifies entry points when momentum reaches specific overbought or oversold thresholds while considering moving average trends. The system manages risk through fi
This MetaTrader 4 expert advisor executes trades based on momentum oscillators, trend filters, and price action patterns. It utilizes a Stochastic oscillator alongside multiple Exponential Moving Averages to identify entry points in alignment with the prevailing trend. The logic incorporates candlestick analysis, speci
This MetaTrader 4 expert advisor automates trading using a combination of trend-following and mean-reversion indicators. It executes trades based on the crossover of two Exponential Moving Averages, filtered by Relative Strength Index levels and Bollinger Band boundaries. The robot enters a position when an EMA crossov
This Expert Advisor for MetaTrader 4 executes trades based on the confluence of Relative Strength Index levels and Moving Average crossovers. It enters long positions when the RSI is oversold and a fast exponential moving average crosses above a slow one, and short positions when the RSI is overbought during a downward
This MetaTrader 4 expert advisor automates trading using Stochastic Oscillator signals. It allows for the confluence of up to three separate Stochastic indicators, potentially across different timeframes, to determine entry points. Trades are triggered by line crossovers or when the indicator reaches user-defined overb