SMA Scalper EA

MQL4 エキスパート

指定

Scalp on any timeframe based on SMA with 3 level Martingale or 1 level Hedge as recovery options


Enter a trade when the price/candle close is at a certain distance range from a defined period SMA value.

If the trade SL is hit and recovery is on then based on the chosen method of recover. place orders.

News filter and weekend close options are also needed.


Details below.

https://docs.google.com/spreadsheets/d/1fdBvRkQEG1A1ftjw8Dzv8wiuY0rD05nHHXvX4rCojoM/edit?usp=sharing


More details

Basic Idea

Based on the option chosen (Price or Close) on every bar check for the entry criteria and open a Buy or a Sell trade.

Only enter trades if

*No trades are currently open on the pair and

*Not in News filter time frame

If last trade on the pair was closed due to SL

If  SL was hit for a Sell trade do not open a trade until the current candle closes below the SMA line

if SL was hit for a Buy trade then do not open a trade till the current candle closes above the SMA line

Buy Entry

 Price option

  If current price  < SMA and Distance between Current Price and SMA is between a user defined range provided in input settings (in Pips)

 Close Option

  If Close price  < SMA and Distance between Current Price and SMA is between a user defined range provided in input settings (in Pips)

 

Sell Entry

 Price option

  If current price  > SMA and Distance between Current Price and SMA is between a user defined range provided in input settings (in Pips)

 Close Option

  If Close price  > SMA and Distance between Current Price and SMA is between a user defined range provided in input settings (in Pips)

 

Closing/Exiting a Trade (2 options)

 -Price touches SMA

 -TP in pips

 

Recovery Option – True/False

Martin

 Can choose upto 3 levels

 Open Buy Limit for First order buy and Sell Limit for First order Sell

 User will define when the first recovery order will be placed (in Pips away from entry of the first order)

 User will define the SL for each recovery Level

 User will define final TP as user input.

 User will input Mutliplication factor for lot sizes for each level (default 2)

 Eg. For 2 it will be Level 1-2Xfirst order lot, Level2- 4XFirst order lot size, Level 3- 8X first order lot size

 TP for each level

Level 1 – TP in user setting + Spread + SL for first order

Level 2 - TP in user setting + Spread + SL for first order + SL Recovery(lot size for first order/lot size for level 1)

Level 3 TP in user setting + Spread + SL for first order + SL Recovery(lot size for first order/lot size for level 1) + SL Recovery(lot size for first order/lot size for level 2)

 

Hedge

 (based on recovery settings) Pips away from entry of the first order open a trade in the opposite direction @ twice the lot size of the first order with user enter SL and TP

TP for the hedge should be calculated based on

 Recovery TP in the settings + (stoploss of the first order/2) + slippage

 

SL (for first order not recovery)

- Fixed Pips

 

Lot sizing

 - Risk % of account balance (calculate lot size with the percentage and default to 0.01 (0.02 if partial close is enabled)

  Calculation for lot size

  No recovery

   If Risk_Percent*Account_Balance/(100*SL_Pips*Pip_Value of the Pair in Account_Currency)> 0.01 then  that calculated value else 0.01

  With Recovery

   If Risk_Percent*Account_Balance/(100*Max_SL*Pip_Value of the Pair in Account_Currency)> 0.01 then that value else 0.01

  Max_SL by levels for recovery

Level 1

First order Stop Loss + ((level1 lot size/fisrt order lot size)*SL_Recovery)

Level 2

  First order Stop Loss + ((level1 lot size/fisrt order lot size)*SL_Recovery)+((level2 lot size/fisrt order lot size)*SL_Recovery)

Level 3

  First order Stop Loss + ((level1 lot size/fisrt order lot size)*SL_Recovery)+((level2 lot size/fisrt order lot size)*SL_Recovery)+((level3 lot size/fisrt order lot size)*SL_Recovery)

 - Fixed Lot size

Break Even - Break even type (pips or % of account profit)  - value 0 in both values below will disable the options

 - Break Even Pips (at what Pips to move SL to Break Even)

 - Lock in pips for Break Even (to cover for commission and swap ) user defined pip count

 

News Filter (disable making new entries during news) - True or False

if True

 - Close Positions in Profit (if in Min Profit or in Pips provided in user setting) - True or False

     - Min Profit to close positons (value in pips)

 - Move SL to Max SL (Move SL of losing positons to a MaxSL value if the current stop loss is greate than Max SL value - True/False

   - Max SL

 - do not enter any new trades during news

 - Time before news (in minutes) - not to trade

 - Time after news (in minutes)  - not to trade

 - Level of news (High, Med, Low) a lower level should include all above levels. eg, if Med is chosen then High and Med type of news should be considered to perform step for news.


Friday Close Yes/No "Close all profit positions on Friday and move SL to set level for losing trades(like the news one)"

TP_Open_FC "in Pips Minimum profit Pip to close postions before Friday EOD"

Max_SL_Level_FC 10 "Max stop loss level from current price before Friday EOD SL for losing trades should be move to 10 if the absolute value of (current price-SL) is > 10 pips"

Other Setting

 - Account Currency (Should work for USD, CAD accounts) - this setting will help in calculating Lot size based on risk

 - Pair Type (Should work for 3 or 5 digit , 4 digit, Gold, Silver)

 - Hard Stop % - (% of account balance to stop EA from wiping out the account )

 

Display on Chart

EA Name - SMA SScalp EA

- Account Equity in $ (account currency)

- Account Balance  in $ (account currency)

- Current FL Profit/Loss in $ (account currency)

- Current Stop Loss - in $ (account currency)

- Current Stop Loss - In Pips



応答済み

1
開発者 1
評価
(595)
プロジェクト
927
46%
仲裁
31
39% / 29%
期限切れ
93
10%
仕事中
2
開発者 2
評価
(33)
プロジェクト
35
40%
仲裁
11
9% / 91%
期限切れ
4
11%
3
開発者 3
評価
(35)
プロジェクト
40
23%
仲裁
10
10% / 50%
期限切れ
16
40%
4
開発者 4
評価
(129)
プロジェクト
208
54%
仲裁
21
24% / 52%
期限切れ
64
31%
5
開発者 5
評価
(53)
プロジェクト
79
18%
仲裁
13
15% / 54%
期限切れ
5
6%
6
開発者 6
評価
(89)
プロジェクト
137
24%
仲裁
35
9% / 40%
期限切れ
52
38%
7
開発者 7
評価
(221)
プロジェクト
369
66%
仲裁
10
50% / 0%
期限切れ
46
12%
類似した注文
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Hello, I need a martingale and grid bot. The programmer must provide a test of about 5 minutes for the EA to see how it works and if everything is fine, it will be selected to make some modifications for personal use to that EA that you provide. If it has a lot of graphics or buttons. better It doesn't matter if the robot is bad, I'm more interested in its functionalities to use with my strategy
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
Here is the Idea: I want a Semi Auto Trade Panel Manager EA that only activates when I press the BUY or SELL or BUY LIMIT or SELL LIMIT then the EA will do the rest : that includes the BUY STOP 0r SELL STOP and the hedging calculations according to below diagram. So overall , my only intervention is entering the lot size , hedge zone distance and TP ratio or entering the price for buy limit/sell limit then pressing
Hi, I'm looking for a martingale MT4 EA that performs a lot of trading volume per day. If you have the robot, you'll need to send me the demo so I can backtest it. Thank you very much
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
we want to build a dashboard ea that would display on another chart key metrics : i will foward screeshot of what i want to dashboard to look like : the function i would need to get display are the following: 1. classified past performance ea by magic number ( with classic : total trade , total profit , return/dd , max dd (base on history) , ) 2. equity chart of performance if we click on a magic number we should
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i

プロジェクト情報

予算
40 - 50 USD
開発者用
36 - 45 USD
締め切り
最低 3 最高 5 日