Shifting MA's
MQL4
Any currency pair
Any time frame
Slippage function
Spread function
LONG:
(Must have its own input fields as the variables/criteria will be different to SHORT):
MA
Period - input field
MA Shift - input field
MA Method - input field
MA Apply to - input field
Max Deals for Consecutive Time Frames - input field (example 5 or 15)
Only one Buy open within the same Time Frame
Lot size - input field
Take Profit - input field
Trailing stop - input field (function on each order separately)
Trailing stop - On/Off
selection
PM = Previous Move and must always be a positive value.
- If
previous candle was up, the “Move” will be Close less Open
- Example
Close = 1300 & Open = 1290 so “Move” = 10
(positive)
- If
previous candle was down, the “Move” will be Close less Open * -1
- Example
Close = 1300 & Open = 1315 so “Move” = (-15 * -1)
(positive)
Methodology - BUY:
A) Open Buy’s in the following order:
1. Previous candle
close is below previous MA,
and
Current High moves higher than current MA + PM, then
Open at level current MA + Previous Move
Example:
- Previous
Close is 1900
- Previous
MA is 2000
- Previous
Move (PM) is 20
- Current
MA is 2010
- Current
High is 2040
- Open
Buy at 2030 (2010 + 20)
2. Buy if No 1
above did not trigger
Previous candle close is below previous MA, and
Current High moves lower than current MA + PM, and
Current candle closes above current MA, then
Open at close of current candle
Example:
- Previous
Close is 1900
- Previous
MA is 2000
- Previous
Move (PM) is 20
- Current
MA is 2010
- Current
High is 2025
- Current
Close is at 2022
- Open
Buy at 2022
3. Buy if No 1 or
No 2 above has already triggered,
and
Current candle closes above or equal to Current MA
Repeat for every candle until “Max Consecutive Deals” is reached
B) Close when one of the following is triggered whichever first:
- Take Profit, OR
- Stop Loss (has two criteria - see next step)
Two criteria for Stop Loss
- Current Low < (Previous Close less Previous
Move), AND
- Current Low < Current
MA, OR
3.
Trailing Stop,
OR 4.
Price closes below current MA
SHORT (Must have its own input fields as the variable/criteria will be different to LONG):
MA Period - input field
MA Shift - input field
MA Method - input field
MA Apply to - input field
Max Deals for Consecutive Time Frames - input field (example 5 or 15)
Only
one Sell open within the same Time Frame
Lot size - input field
Take
Profit - input field
Trailing stop - input field (function on each order separately)
Trailing stop - On/Off selection
Methodology:
Same as for LONG but just to the opposite
Pedidos semelhantes
The job is simple, I want a custom indicator which consist of a combination of 3 indicators in separate window as I will show you in the screenshot of my mt5 trading platform. The indicators are RSI(period 14, Apply to close) Level 10 Buy, Level 50 Take profit, level 90 Sell) MA( Period 200, Method Exponential, Apply to Median price, Shift 0) BB (Period 25, Apply to close, Deviation 0.035, Shift 0) Ideally on a 1
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer
I have a full strategy based on indicator and candle based on . i would like to make it into a robot which will trade for me on a specific time and specific rules. i need a person who can do this project for me. If you have done this type of job . you are most welcome for this. Apply only if you know binary trading option and binomo trading platform well and how it works
Enter buy trade at close of candle when bar closes above the 3 emas. Emas are 34 ema, 64 ema and 128 ema. For a buy trade the 34 ema must be above the other two emas. The 64 ema should be in the middle. The 128 ema should be below the other two emas. For a buy trade the Awesome Oscillator should be above the middle line and colored green. Exit a buy trade when price touches 64 ema. Sell trade same conditions as buy
I want to make AI based on Attached Picture Swing High low. If you have experience can share demo first. Stop loss, take profit, trailing , break even ,DD etc. also amiable
Hello, I’m looking for a TradingView indicator that fits my forex trading needs. If you can create or customize one for me, please reach out. I'd appreciate your help! Thanks in advance."
Pls I need help I don’t have much but pls accept my little payment for the work thanks 🙏 mt5 file Once it opens buy and move positively to buy let it use auto trailing to follow the trend that’s if I choose to use trailing option and before the trailing starts it must reach the actual profit target example if I set profit target to 500 then once profit is at 500 let trailing immediately protect it and any 1 pip
Hey greetings am in need of a developer that can convert my simple tradingview indicator to MT4 I have the source code of the indicator and is also a public indicator on Tradingview site Kindly bid and let started