Consecutive Candle Count

Custom MT4 expert advisors published here.

Moderator: admin

Consecutive Candle Count

Postby Alexander.Gettinger » Wed Jun 04, 2014 5:41 pm

Original LUA oscillator: viewtopic.php?f=17&t=60243.

CCC_MQL.PNG


Download:
CCC.mq4
(2.1 KiB) Downloaded 1459 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Consecutive Candle Count

Postby syncoopate » Sat Jun 20, 2015 6:38 am

hello Alexander can create an expert mql4 to open long positions or sell if indicator is equal to 1, or 2, or 3 ....
example indicator red = 2 open buy (1/2 / ...... n) lots
example indicator green = 3 open buy (1/2 / ...... n) lots
extern input
N_lots for value indicator up
N_lots for value indicator down
magic number
time for trading hour / day

thank you help me please: D

syncoopate: D
syncoopate
 
Posts: 43
Joined: Sat Mar 17, 2012 2:06 pm

Re: Consecutive Candle Count

Postby Apprentice » Wed Jun 24, 2015 6:41 am

Your request is added to the development list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Consecutive Candle Count

Postby Alexander.Gettinger » Thu Dec 13, 2018 8:00 pm

Please try this strategy:
CCC_Str.mq4
(7.74 KiB) Downloaded 794 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Consecutive Candle Count

Postby evansrono » Thu Jun 17, 2021 7:34 am

Hi,

Could you create a dashboard with a Candle Count based on Moving average period. ie.

Long - Total sum of Candles in Range - (START) Last Candle Closed above MA to (MID) Candle Closed below MA to (END) Current Closed candle (both START and END candles included in the count).

Short - Total sum of Candles in Range - (START) Last Candle Closed below MA to (MID) Candle Closed above MA to (END) Current Closed candle (both START and END candles included in the count).

All counts must have the MID.

Dashboard to show the results of total candles in range with MTF in different color codes

Column - MTF (with option to remove certain timeframes from dashboard),
Row - Long and Short
Dashboard size and position adjustment.

The MA to include all the usual MA input features (Period, Method, Price Type, etc)
All candle count results in MTF to change according to adjustment to MA Period, Method and Price Type.

Your Assistance on this is highly appreciated.

Regards
evansrono
 
Posts: 35
Joined: Thu Jun 25, 2020 9:11 am

Re: Consecutive Candle Count

Postby Apprentice » Fri Jun 18, 2021 4:43 am

Your request is added to the development list.
Development reference 582.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Re: Consecutive Candle Count

Postby evansrono » Wed Jun 23, 2021 5:51 pm

Hi Apprentice,

Thanks for the help. The indicator seems to be counting candles from 2 MA crosses. Please see the image below for details.

Image

Vice versa for going Short.

Regards
evansrono
 
Posts: 35
Joined: Thu Jun 25, 2020 9:11 am

Re: Consecutive Candle Count

Postby Apprentice » Fri Jun 25, 2021 4:59 am

Your request is added to the development list.
Development reference 596.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Consecutive Candle Count

Postby Apprentice » Tue Jul 06, 2021 3:02 am

I don't understand why we need two MA?
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: Bing [Bot] and 15 guests

cron