Skip to content

mirbyte/EMA-Cross-Entry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

EMA-Cross-Entry cBot

Sophisticated EMA crossover cBot. Below is a list of key components:

Moving Averages Setup:

EMA1: Acts as a signal line. EMA2: Used for entry.

Volume Management:

Volume: Adjust position size. Multiplier Type: Specifies whether to use volume multipliers after wins or losses. It can be set only to "win" or “loss”. Volume multiplier: “1” to turn off multiplier as you may have guessed.

Position Protection:

StopLoss TakeProfit Trailing Stoploss

Trading Logic:

Checks for EMA crossovers and executes trades accordingly. The algorithm includes logic to prevent multiple trades within a short time using the hasTraded flag. The SetTrailingStop method is used to implement a trailing stop feature for both long and short positions.

Disclaimer:

Trading algorithms involve risk, and this script should be thoroughly tested in a simulated environment before using it in a live trading scenario. Users should understand the parameters and logic to adapt them to their risk tolerance and market conditions. I take no responsibility for your losses.

ema cross entry parameters

I prioritize updates on the cTrader website.