Candles - page 17

 

thank you , I found it.

 

Need help with an indicator

Hi,

I am looking for the following indicator:

On the current candle there should be 2 dots. One represents the midpoint of the current candle and the other the midpoint of the previous candle. The 2 dots should be in different colours.

The midpoints are calculated as (H+L)/2. I think I have seen this indicator somewhere. Can you please post it or if no one has it can someone please program it?

Thank you.

 

A new way to look on candlecharts in MT4: DynamicCandles

Hello everyone,

you know the problem that all candles above 1 hour look different at every broker because of timezones. all candles below 4 hour is no problem, because every 1 hour starts at the same time on the whole world, but not 4hours etc.

i found a solution. it is called DynamicCandles. it is difficult for me to describe, because english is not my native language. i'll try it:

everyone who is trading systems or methods with candlepattern know the Pinbar. it is a candlepattern with long high shadow or low shadow and the close is very near at the open of a candle. there are many other patterns which shows trend reversal or continuation. but not every pinbar could be found on a chart with MT4 because of timeshift or timezoneshifts. sometimes you see in a 1 hourchart a bullish or bearish outside bar, which is the same like a pinbar but with a trendreversal duration of 2 hours. now think about you have the ability to have a 2 hour chart or a 20 minute chart or an 76 minute chart. usually impossible in MT4. i know there is a way with a script to tweek a minute chart with live quotes. but know it is possible with DynamicCandles. And not only this. There is one more feature i try to describe now.

there are two modis. a dynamic and a static mode. the static mode works the same like the CustomCandle indicator. you could have in static mode every charttimeframe you want.

For Example: you have open a 1 minute chart in MT4 and apply the DynamicCandles as an overlay. switch to linegraph and set the linegraph color to NONE. you set the 'TimeFrame'-parameter to 7. now you have 7 minute chart in MT4. Isn't it easy.

Now comes the big part of the DynamicCandles-Indi. The dynamic mode.

If you switch UseDynamicCandle to TRUE you will see dynamic candles.

Example:

In the 1 minute timeframe you set 'TimeFrame' to 10 and have a 10 minute chartframe. everythings clear by now? but what happens. the usual 1 minute bars are now seperated in dynamic 10 minute candles. the DynamicCandle is static at his position in the window, but the usual 1 minute open, high, low and close quotes are the underlying values of every dynamic candle. so, bar 0 - 9 forms dynamic candle #1. Bar 10-19 forms dyn. candle #2 and so on. if the usual bar 0 closes it move to position 1 (the next left position and all others to). a new bar at the first position(0) is generated. you know this. but the dynamic Candles do NOT move to left every 10 minutes, they stay were they are. they only transforms lows, highs, opens,closes with the quotevalues of the underlying price. puhhh, so difficult with my hun tongue.

but pictures says more than 1000 words. here is a video i captured in fastmotion about the EURUSD from today april 28 at 11.55 (ibfx-time :-) ) there was a nice uptrend and you could watch how the pinbar was formed. you could explore more pinbars at time.

here is the video

what is the pro now? at every trendreversal there is a pinbar sometimes hidden because of timeshift sometimes 2 bars forming the pinbar but with a DBHLC (Double High Low Close) etc. if everyone will using this DynamicCandles in a 1 hour chart and with TimeFrame set at 24, everyone will see the same dailycandle even if he/she sits in australia, london, usa. and the best with this example is. every hour a new dynamic daily candle will form. hard to believe and understand? take the indi in 1 minute chart with TimeFrame-setting at 5 and watch what happens. if you understand the concept you can adapt this to other TF's of your choice. maybe this is evolutional in chartanalytics, chartpatterns and usefull for strategies.

the other settings are not difficult to understand i hope. CountBars is the number of bars shown in the chartwindow.

if you have questions, go ahead. i'll try to answer with best willing and understanding.

regards PriNova

Files:
 

hi everybody,

anybody can help me disable current daily candle..just leave the rest...the current daily candle only plotted after it finish.

thnx

 
CP6:
hi everybody,

anybody can help me disable current daily candle..just leave the rest...the current daily candle only plotted after it finish.

thnx

if

extern int startfromBar =0; -shows zero bar

if startfromBar =1 - first bar, 2-from second,etc

Files:
 
fxbs:
if

extern int startfromBar =0; -shows zero bar

if startfromBar =1 - first bar, 2-from second,etc

thnx a million fxbs

 

i did my work and enhanced the the dynamic candles with a Pattern-Search-Engine and made some changes to the high low lines.

if you have a 1 minutechart open and apply the dynamiccandlesv.04 with the TimeFrame-setting of 60 you have a dynamic 1hour chart. now the high low line is showing you were the real highest high and lowest low of the underlying quote is for the 60 minute interval.

the pattern search engine described as follow:

The UsePatternDectection activate it. the threshold values sets the percentage amount of the close and open in conjunction to the high and low of a dynamic candle of the specified range. don't forget to include the '-' minus between two figures. this is the time-range where the engine search for the pattern you set. if AutomaticSwitchTF is set to TRUE the dynamic candles will automaticly set to the highest dynamic candle where the pattern was found. for example:

UsePatternDetection = true

Range = 60-120

ThresholdClose = 24%

ThresholdOpen = 25%

AutomaticSwitchTF = true

with this settings you let the engine search for a pinbar, which open is 25% away from the highest high or lowest low between a TF-Range of 60-120 minutes in an 1 minutechart. And the Close 24% away from the same Lows and highs. the close is smaller because of the pattern of the pinbar-rules. if the pattern-search-engine found two pinbars at TF 68 and 112 the highest TF would be used to alert you and the dynamic candles will automaticly set to this TF. and voila you see a pinbar. how nice is this?

 
fxbs:
if

extern int startfromBar =0; -shows zero bar

if startfromBar =1 - first bar, 2-from second,etc

hi fxbs, need help to remove sunday count

thnx a million

 

Pin Bar Detection

Hi PriNova,

thank's for the really good idea.

It's very suitable to my last Setup-Idea.

Well Done

beppi

 

ind. from all over (4zcollection)

Reason: