if((last_close > last_open) && (this_close < this_open) && ((last_open < last_close) && ((last_low > 0.9*last_open) && (last_low < 1.1*last_open)) && last_candle >= 1.75*last_body) && ((this_open > this_close) && ((this_low > 0.9*this_close) && (this_low < 1.1*this_close)) && this_candle >= 1.75*this_body)) {If you write your long lines of code like this, it makes everything easier to read
rha1: it doesn't work like it's supposed to.
- Previously asked and answered. Don't double post
- Are your books one column but two feet wide? No because that is unreadable. They are 6 inches, sometimes two columns, so you can read it easily. So should be your code. I'm not going to go scrolling back and forth trying to read it. Edit the post with formatted code and you might get additional help.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey y'all,
I recently started working with MQL4 and I need some help with my code. Although it runs and I can execute my EA, it doesn't work like it's supposed to. Any help or tips wold be greatly appreciated. The code is attached below:
It runs in that it compiles successfully and I can attach it to charts, but it doesn't send out alerts. Basically, I want this to run at the end of every session, and analyze the last 3 candlesticks for the Japanese Candlestick patterns below for the D1 and the H4 charts.