FXCM Forex Trading

Consecutive Candle Count

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Consecutive Candle Count

Postby Apprentice » Wed Aug 05, 2015 4:15 am

Consecutive Candle Count.png

Indicator will provide
longest consecutive number of up candles
longest consecutive number of down candles
If Period is set to Zero All available data is checked.
otherwise only last N bender is taken into account.
Consecutive Candle Count.lua
(3.96 KiB) Downloaded 254 times

Of which Conditional Consecutive Candle Count will only count those with given minimum
Conditional Consecutive Candle Count.lua
(4.49 KiB) Downloaded 121 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16988
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Consecutive Candle Count

Postby Alexander.Gettinger » Mon Aug 31, 2015 11:39 am

MQL4 version of Consecutive Candle Count indicator: viewtopic.php?f=38&t=62613.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 2718
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Consecutive Candle Count

Postby gnarlyarbitrage » Tue Feb 09, 2016 4:38 am

what if you did something like out of X time-range find the mean of trends at least Y long
or the mean of candles per trend at least X long in Y time-frame
thanks
gnarlyarbitrage
 
Posts: 50
Joined: Thu Jun 20, 2013 1:33 pm

Re: Consecutive Candle Count

Postby Apprentice » Tue Feb 09, 2016 6:47 am

Can you explain your idea further.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16988
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Consecutive Candle Count

Postby gnarlyarbitrage » Thu Feb 11, 2016 1:36 am

time frame = 100 (x)
y = 5
z = ? (how many trends were 5 candles long at least)

in a text format

or

the average number of candles per trend out of x candles
gnarlyarbitrage
 
Posts: 50
Joined: Thu Jun 20, 2013 1:33 pm

Re: Consecutive Candle Count

Postby Apprentice » Sun Feb 14, 2016 4:13 am

Conditional Consecutive Candle Count Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16988
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Consecutive Candle Count

Postby AlphaBagel » Sat Apr 02, 2016 4:51 pm

Does anyone know if there is a consecutive candle alert out there? One where you can define if the alert is for a bear or bull run?

Example
Consecutive candles : 6
Direction : Bull

After 6 consecutive Bull closes Alert is triggered.

Thanks!
AlphaBagel
 
Posts: 7
Joined: Thu Dec 10, 2015 11:05 pm

Re: Consecutive Candle Count

Postby Apprentice » Tue Apr 05, 2016 6:47 am

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16988
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Consecutive Candle Count

Postby Apprentice » Tue Sep 12, 2017 5:10 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 16988
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

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