Centre of Gravity indicator alert and Consecutive candle

MQL5 Indicadores

Termos de Referência

Platform(Mt5)
All chart times available on MT5
Outcome:MQL5 source code and Indicator with title COG


Section 1(consecutive candle count)-------------------------------------------------------------------------------------------------------------
If there are  4 or more consecutive candles (either bullish or bearish) send an alert/email with the number of candles consecutive at the close  of each candle from the the 4th one including the close price,asset,chart  timeframe. Reset the counter when an opposite candle closes after a consecutive streak.

Message Format examples
4th Bullish candle
Price:1.2391(Close price)
Chart:EUR/USD 5 min

Message Format 
5th Bullish candles
Price:1.2408(Close price)
Chart:EUR/USD 5 min
 and so on....

Message Format
4th Bearish candle
Price:110.600 (Close price)
Chart:USD/JPY 1 Hour

Message Format
5th Bearish candle
Price:110.590(Close price)
Chart:USD/JPY 1 Hour
 and so on....

---------------------------------------------------------------------

Section 2

Indicator:Centre of Gravity

1.When a bearish candle(1) closes under the sLow line(blue dashed line),regardless of whether it opened over or under the sLow line, and the next candle(2) opens under the sLow line. Send an email/alert with opening price of the candle(2) with the timeframe the alert/email appeared on.
Message format
COG Alert:
2019-09-02 09:03:12 GMT
Possible Strong BUY USDJPY @ 108.452
Chart:1 Hour

2.When a bearish candle(1) closes under the sLow line(blue dashed line),regardless of whether it opened over or under the sLow line, and the next candle(2)  also closes  bearish,that is lower than candle(1) under the sLow line then send an email/alert with closing price of the candle (2) with the timeframe the alert appeared on.
Message format
COG Alert:
2019-09-02 09:03:12 GMT
Definite Strong BUY USDJPY @ 108.452
Chart:30 min
------------------------------------------------------------------------------------------------
Sell conditions
1.When a bullish candle  close over  the sHigh line(yellow dashed line) and the next candle opens over the sHigh line. Send an email/alert with opening price of the new candle with the timeframe the alert appeared on.
Message  body format
COG Alert:
2019-09-02 09:03:12 GMT
Possible Sell GBPUSD @ 1.2340(close price)
Chart:15 min


2.When a bullish candle(1) closes over the sHigh line(yellow dashed line),regardless of whether it opened over or under the sHigh line, and the next candle(2)  also closes  bullish,that is higher than candle(1) over the sHigh line then send an email/alert with closing price of the candle (2) with the timeframe the alert appeared on.
Message format
COG Alert:
2019-09-02 09:03:12 GMT
Definite  Sell AUDJPY @ 80.125

Chart:30 min


Section 3 

When a candle touches the centre red line of the Centre of Gravity indicator send  a alert/email . The alert must only  come once  per candle ,when it is the  first time the candle touches the line.

Message Format

COG Alert

Centre line touched

Chart: GPBAUD 5min


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(33)
Projetos
49
12%
Arbitragem
16
0% / 88%
Expirado
10
20%
Livre
2
Desenvolvedor 2
Classificação
(334)
Projetos
618
38%
Arbitragem
39
23% / 64%
Expirado
93
15%
Trabalhando
3
Desenvolvedor 3
Classificação
(54)
Projetos
53
17%
Arbitragem
7
0% / 100%
Expirado
5
9%
Livre
4
Desenvolvedor 4
Classificação
(19)
Projetos
27
11%
Arbitragem
11
9% / 55%
Expirado
12
44%
Livre
5
Desenvolvedor 5
Classificação
(497)
Projetos
746
63%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
6
Desenvolvedor 6
Classificação
(195)
Projetos
395
28%
Arbitragem
155
20% / 52%
Expirado
112
28%
Livre
7
Desenvolvedor 7
Classificação
(7)
Projetos
8
13%
Arbitragem
0
Expirado
1
13%
Livre
8
Desenvolvedor 8
Classificação
(8)
Projetos
16
0%
Arbitragem
9
0% / 89%
Expirado
8
50%
Livre
9
Desenvolvedor 9
Classificação
(586)
Projetos
1044
49%
Arbitragem
39
28% / 41%
Expirado
49
5%
Livre
10
Desenvolvedor 10
Classificação
(66)
Projetos
143
34%
Arbitragem
10
10% / 60%
Expirado
26
18%
Livre
11
Desenvolvedor 11
Classificação
(549)
Projetos
918
48%
Arbitragem
300
59% / 25%
Expirado
123
13%
Carregado
Pedidos semelhantes
I need just the code tgat draws trendlines and channels. But with a twist. I need it drawing trend lines afte 2 candles then if a new inner trend happens that line is drawn plus keep original and if there is a channel occurring draw the top of the candle trendline on an uptrend but what's more important is the lines are drawn on the bottom the and top corners to corners of trend not tail n whacks then I also need
I have my MT5 EA almost complete at the moment, but it has some bugs in the source code. Would you be interested in fixing it? There are basically 3 corrections: 'Max. Open Trades', 'Trailing Stop' and 'Close on Invalidated Pot. Trendline'. If you are interested, please apply for this order. Kind regards
1st order: Convert 4 trading view indicators and combine them to one MT4 indicator. 1. UT Bot Alerts* by QuantNomad 2. Zero Lag SMA Trend* by netweaver2011 3. Consolidation Zones - Live* by LonesomeTheBlue WIZARD 4.Money Flow Index + Alerts by DreamsDefined* All the inputs are in the png files. IF YOU WANT TO UNDERSTAND BETER WHAT I NEED , IM SEDNING YOU A VIDEO TUTORIAL ABOUT THIS STRATEGY AND HOW IT WORKS. ONCE
Hi I need the BPR ( TFO indicator ) on pinescript converted to mql5, I’m looking to incorporate it into my metatrader EA based on market structure shifts and of course the balanced price range ICT concept
I have 2 MT4 indicators and I want it to be created into an MT4 EA. It is both ex4 files. The strategy is very simple. I will provide images for reference and the 2 MT4 ex4 files
HI I want to add two fonctions to my EA 1- number of trade to take=true or false number= 1 or more 2- trade timer= true or false days start time end time Thank you Pierre
, I am using a trading view indicator, and im trying to connect it to MT5. It has a backtester inbuilt so I could set sl and tp, but I dont have access to the source code, so i was wondering if you know if there is another way to write the syntax for the alerts that grabs the price with the SL and TP from that indicator. my stop loss strategy is the donchain channel and my tP is just a ration of 1:1.5. or there is
Hey, trust my job post sound interesting to you :) Read and understand what is all about, I need a professional pinescript coder, I am hoping to implement 2 indicators along with some simple ideas that can be discussed in comment section, I am only looking for an action taker who will be ready to pay quick attention to details, also as I said, I am only looking for a reliable pinescript coder, if you haven't been
For Buy order MACD base on divergence and price to ensure candle chart price is higher than the previous price and to ensure MACD bottom crossover is higher than previous crossover at the top of MACD is higher than previous crossover is this 3 confirm than to execute buy so for example the price of EURAUD is 1.63570 to execute buy order every 20 pips drawdown will be execute another position max 3 order stoploss
I need a trend screener pro ..for volatility indexes and boom and crash mt5 only ..for M1,M5,M15,M30,1H,4H,1DAY,1WEEK which will tell me the position of the market and what can possibly be expected.Demo for fast selection

Informações sobre o projeto

Orçamento
50+ USD
Desenvolvedor
45 USD