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
相似订单
I need to fix the alerts of my SMC Order Blocks indicator, which is a custom indicator created for me some time ago. This custom indicator already has several types of alerts built-in, but I need to fix specific ones while keeping the other existing alerts unchanged, as those do not have any errors. The alert is for a specific Order Blocks pattern. This indicator graphically provides a zigzag, and from there, CHoCH
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
I want grate robot for making profits that know when to start a good trade and close a trade and must be active all time to avoid lost of money
Hi Guys, I am looking to someone that can generate an indicator for MT4 as explained below. Basically I would need that the indicator point out the price that will close my position in stop out/margin call. The indicator should pick automatically the level of trade out for the broker (which can be different from a broker to another broker) It should write (ideally on the bottom on the left) the following information
I like to own my robot that why I want to build my own.i like to be a best to every robot ever in the life to be have more money
I need an MT5 EA that can do the following: I have to give the EA a price in advance, when the price is reached the EA has to automatically place a buy stop or sell stop order 0.5 pips below or above the price. Is this possible
Good day, I want someone to help me create a universal news filter with on/off switch, with start and end settings, and drawdown control with magic number of EAs, etc. Thanks