No need as you can help yourself - very easily.
Search for "pinbar" (the lens top right and in the codebase) and "inside bar" and you'll have a lot of code that detects that what you want and you can probably choose between several solutions ...
Varying a German saying "Erst denken, dann handeln => think first then do" you should practice "Search First then Code" - as there is practically nothing that does not already exists for MT4/5!
No need as you can help yourself - very easily.
Search for "pinbar" (the lens top right and in the codebase) and "inside bar" and you'll have a lot of code that detects that what you want and you can probably choose between several solutions ...
Hi Carl,
Firstly Thank you for your prompt reply!!
1st Criteria : Stated Moving Averages crossover
2nd Criteria : Candlestick appear to be either Inside Bar or Pin Bar
Just wondering do you aware which thread I could read? or Do you know how to change my code?
No need as you can help yourself - very easily.
Search for "pinbar" (the lens top right and in the codebase) and "inside bar" and you'll have a lot of code that detects that what you want and you can probably choose between several solutions ...
Varying a German saying "Erst denken, dann handeln => think first then do" you should practice "Search First then Code" - as there is practically nothing that does not already exists for MT4/5!
Hi Carl,
I did search for it. But some how i couldn't find a way to combine the two indicators together. Probably Im stupid enough and don't really know the algorithm.
So sorry... Will try the search on the lens you mentioned.
Anyone else could offer some edit on the code that I have posted?
Seriously I couldn't find a way to solve it! Just wondering anyone could offer your help at my above code?
or assist me on which website or link i could refer to !
Million Thanks !!
1st Criteria : Stated Moving Averages crossover
2nd Criteria : Candlestick appear to be either Inside Bar or Pin Bar
Just wondering do you aware which thread I could read? or Do you know how to change my code?
- You know how to code a cross over?
- You know how to code IB/PB?
- No reading required. Code it.
No free help
urgent help.
- You know how to code a cross over?
- You know how to code IB/PB?
- No reading required. Code it.
No free help
urgent help.
Hey Whroeder1,
I believe that I have posted my code at my 1st post. I added crossover and IB inside the code button at my very first post...
I have also stated my problem at my first post... Just wondering did you notice that?
Everyone need a guide, or a mentor. Probably not all are so smart like you, especially im not the one. Thanks if you could offer your guidance on which post I can referring to.
Thanks
I have also stated my problem at my first post...
Thanks if you could offer your guidance on which post I can referring to.
- You posted your code but never stated a problem with it. You stated in #2 what you want.
- You didn't state a problem, you stated a wants. You want someone to design your code for you. You want someone to code it for you.
- You keep asking us to show you posts. We're not going to code it for you.
- Oscar Sim: just wondering what I should add in, in order for the script to alert me once crossover come along with Inside Bar criteria meet.Do your indicator code. Remove that currenttime and setalert junk. That has nothing to do with your computation. After the loop, then test if a condition has changed for your alert.
- You posted your code but never stated a problem with it. You stated in #2 what you want.
- You didn't state a problem, you stated a wants. You want someone to design your code for you. You want someone to code it for you.
- You keep asking us to show you posts. We're not going to code it for you.
- Do your indicator code. Remove that currenttime and setalert junk. That has nothing to do with your computation. After the loop, then test if a condition has changed for your alert.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hey guys!
Any idea how can I get a indicate a specific type of candle after meeting my condition?
What I want is, I have created a crossover signal, which I would like to add in more condition like after MA Crossover, I would like the second candle to be either Inside Bar or a Pin Bar...
I have below script is the crossover and Inside Bar candle alert, just wondering what I should add in, in order for the script to alert me once crossover come along with Inside Bar criteria meet.
Any Programming MQL4 God could offer their help to me?
Million Thanks !!