Megandle = Megacandle
Alright. So I've started deconstructing and building my own version of custom candle. It's dependent on trends rather than on time.
I think I have all the logic in place to set the correct open and close prices for the indicator. But now that I'm actually trying to draw the candles, they aren't drawing.
Can anyone take a look?
Also, I pretty much abandoned the prospect of using shadows because I couldn't wrap my head around it and it seemed needlessly complicated.
Thanks if you can help!
made some changes
still nothing drawing and i dont know what im doing wrong
ASK candle charts
I am looking for ask candle charts as my trading method requires the ask price to cross certain indicator levels but if I use the bid candles the indicator would be calculated from that price not that ask price.
Has this been achieved before? If not I would be really grateful if someone could help me with this issue.
I think it must be possible. My idea would be to some how shift the bid candles up vertically by the spread for that particular pair/instrument. As I have absolutely zero coding knowledge I'm not sure how this would be possible, but am sure someone with the correct knowledge would be able to do this.
Thanks for reading and for any help.
Are your levels just lines?
That would be not hard.
Yes the levels are lines, they are lines of bollinger bands.
I need these bollinger bands to be calulated from the ask price not the bid.
I am after some sort of EA/indicator that can acheive ask price candles so that I can attach the bollinger bands indicator to the ask chart.
Let me know if you think this is possible so I can give you more details of what I need it to do.
I've looked at the code and you have several problems.
First, you will need a while or for loop to loop thru all the bars(Customcandle uses a while loop)
Second, you are trying to use the following:
MarketInfo(NULL,Bid) should be MarketInfo(Symbol(),MODE_BID)
MarketInfo(NULL,Open) there is no such function
I would suggest starting with something simple that just draws rectangles around each bar or several bars just to get the feel for it being you are new to programming.
hi felows....i'm searching for candle body range (open/close) in pip where the pip numbers stated after the candle close...below or top of the candle...
the range also can be customized follow by timeframe or brokers time:
CANDLE BODY RANGE IN PIPS TOP OR BELOW OF THE CANDLE.
GMT SETTING plus market hours. london japan n us sesion
Brokers time / SETTINGS
0.00 show range in pip true/false
1.00 show range in pip true/false
and so on...
sorry for my bad english,,,,hope some body can code this for me... tq
Alarm on candle close in opposite direction
Have you ?
if (Volume >1)
if ( Close>Open && Close<Open )
Alarm("Candle closed up");
if ( CloseOpen )
Alarm("Candle closed down");
I need H4 in H1 indicator
Hi all!!! I looking for an indicator that show the H4 canddles on the H1 chart. It is likes 1 big H4 canddle around 4 canddles of H1 chart. I know, this indicator is at mql4.com forum but I can not remember the name of it. Please attache here this indicator if you have it or just reply me the name on this threat. Thank's much!!!