SirFency
SirFency
Just started to learn programming in march of 2018. Eventually I will have my very own EA built from scratch using a custom indicator and an existing indicator.
SirFency
Added topic Accessing values in a buffer array
I have a buffer array named JPY_Band[] and another named CHF_Band[]. I want to subtract the value in the first index from the value in the first index of the other. Something like this double result = JPY_Band[ 1 ] - CHF_Band[ 1 ] this is not giving
SirFency
Added topic Math Question
OK I need to know the difference between two numbers. This is easy when I need to know the difference by subtracting the smaller number from the larger number however there are many cases where I need to know the difference of the numbers when I need
SirFency
Added topic multiple if statements
When I have multiple if statements, will the if statements after the first true if statement run?        //Signals to purchase or sell the EURGBP //Let's say this bit is true       
SirFency
Added topic I'm lost building a function
OK I have been at this now for over a week. I want to draw lines based on the value of perEUR for each candle in the past. The past will be adjustable so I set it as a variable called lookback. Everytime I think I figured out a new way to do it I get
SirFency
Added topic draw a currency strength line
I have been working on a custom indicator (currency strength) as my first programming project. I am doing quite well. I am trying to mimic this http://completecurrencytrader.com/currency-strength-indicator.html I have gotten to the point now
SirFency
Added topic Array out of range?
In my mind I have the for loop and the array set correctly what is causing this array out of range error? Keep in mind I am brand new to programming and this is my first attempt at a functioning program
SirFency
Added topic populating an array
I want to populate an array with currency pair values. Arrays are quite a bit different from Javascript I'm gathering. I'm totally new to programming and I took some online courses in Javascript to help prepare me to learn MQL4. I'm running into a
SirFency
Added topic Won't print to Journal
As someone with no programming experience I will have a lot of dumb questions. Here's one now. Can someone please explain to me why I cannot get this to print to my journal. It's very important for me to see. I cannot get either the Comment function
SirFency
Added topic Value of Symbols on different charts
I'm not sure why I'm having such a hard time with but here it is. I'm trying to get the value of the GBPEUR no matter what chart I drop my indicator on. Then I want to store that value in a variable. I have been trying to test this with the print
SirFency
Added topic Point vs pips Oanda
I'm writing a script for MT4 on the Oanda platform and I'm a bit confused. Normally with a 3 or a 5 digit value you would need to convert a Point to a pip by multiplying by 10. When I do this however, I end up getting 10 times the amount of pips. So
SirFency
Added topic Chartless EA
I want to build an EA that can look at the entire market and make trades without me having to open a trade window. Is this possible? I also have multiple demo accounts so I can test different aspects of the EA I want to build. For example. I want my
SirFency
Registered at MQL5.community
12