kosma-2.02

kosma-2.02
Download ALL MT4 experts (879)
YouTube Video Thumbnail



Similar MetaTrader Tools

kosma-2.02

Info

The kosma-2.02 is a Expert Advisor for MetaTrader 4 that description:osma indicator with parameter multiplication coefficient and divergence line drawing. After using the indicator for over a year, some modifications were made, and it now performs additional functions and has a slightly different appearance.

Usage

This tool is typically used for automated trading on major forex pairs and gold.

Platform

This Expert Advisor works exclusively on MetaTrader 4 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL4/Experts folder via File ? Open Data Folder in MetaTrader 4.


How to Install and Use kosma-2.02

1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.

2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.

3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.

4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.

Frequently Asked Questions

Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.

Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.

Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.

What this tool does

Description:OsMA indicator with parameter multiplication coefficient and divergence line drawing.

Typical Use Case

This Expert Advisor excels in automated trading and technical analysis on MetaTrader 4.

Compatible Platform & Setup

This Expert Advisor works on MetaTrader 4. Place the file in the MQL4/Experts folder and restart the terminal.

Description & Settings

Related: a informer - another powerful expert for MetaTrader 4 traders.

Description:

OsMA indicator with parameter multiplication coefficient and divergence line drawing.

After using the indicator for over a year, some modifications were made, and it now performs additional functions and has a slightly different appearance.

Also recommended: Grid expert - similar expert with strong performance on MetaTrader 4.


External variables:

fast = 12;

slow = 26;

sig = 9;

k = 1;

n = 2;

drawDivergenceLines = true.

The first three parameters are from the standard OsMA indicator (fast, slow, signal).
k is the coefficient for multiplying standard parameters to display the OsMA value of a non-standard timeframe on the current timeframe.
n is the number of bars to the right/left from which the peak/trough is calculated (default is 2 bars).
drawDivergenceLines, when set to false, disables arrows on the main chart and all divergence lines.

Arrows indicate the bar where the divergence signal becomes visible (depending on the n parameter).

For example, you can set k=6 on an H1 chart to display the OsMA of the 6-hour timeframe in the indicator window.

You can overlay two charts on top of each other by setting drawDivergenceLines to false to avoid confusion with lines.

The indicator window displays the names of the two overlaid indicators in the top left corner, each with its own parameters. In this case, they differ: pink line k=2, n=3, blue line k=8.

In the expert, you can use both the curves - marked with yellow dots - and only the curves with divergence, i.e., the presence of arrows up/down.

The buffer numbers responsible for the corresponding curves are listed in the penultimate parameter in the iCustom() function call.

upAr=
iCustom
(
NULL
,
0
,
"kosma-2.02"
,fast,slow,sig,k,n,
1
,n);  
// Search for the up arrow for buying

dnAr=
iCustom
(
NULL
,
0
,
"kosma-2.02"
,fast,slow,sig,k,n,
2
,n);  
// Search for the down arrow for selling

toUp=
iCustom
(
NULL
,
0
,
"kosma-2.02"
,fast,slow,sig,k,n,
4
,n);  
// Found a curve at the bottom, OsMA went up

toDn=
iCustom
(
NULL
,
0
,
"kosma-2.02"
,fast,slow,sig,k,n,
3
,n);  
// Found a curve at the top, OsMA went down

You may also like: Strategy Tester in pips - excellent alternative for expert users on MetaTrader 4.


Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.