I'm trying to test my code but I keep getting the below errors/messages which prevents me from buying or selling. Thoughts? 2017.05.08 08:46:29.749 2017.04.02 21:08:59 current account state: Balance: 10000.00, Credit
This is just for verification because I seem to be getting conflicting results but per my below code shouldn't my most current values be CloseArray[0] and RSI_ARRAY[0] ? Or did I get my signals mixed and my most current values would be CloseArray[1]
Does anyone know how to capture the current closed price ? I'm writing an EA program and I assumed that the current closed price was contained within the below but I was wrong. input ENUM_APPLIED_PRICE
I'm looking to include the base price and quote price in my EA program but Im not able to find a fuction that provides the quote price. I believe I can use 'Signal_Base_Price' for the base price but if Im barking up the wrong tree let me know.
I have multiple for loops in my EA program and while the first for loop works as designed the second for loop does not increment as stays stuck at zero. Both loops are in the OnTiick() function . Any thoughts as to why this is?
I keep getting the below errors during execution of my EA code. Been digging around but can't seem to find figure this one out. Thoughts? 2015.07.06 11:28:41.941 2015.03.27 22:14:59 SellPositionOpen()
Trying to code when EMA5 crosses above EMA10 for an Expert Advisor Program and I'm stuck. I can use ArrayMaximum and ArrayMinimum function to some affect but that just tells if the values are greater than or less not if it crossed.
Looking to code an Expert Advisor that trades based on EMA.5 crossing over EMA.10 and/or SMA.50 crossing over SMA.100 but I am having problems trying to capture the different EMA and SMA values in my code. Any suggestions
Having trouble going about building an array for an Expert Advisor . My goal is to build an array program holds the values of the designated indicators which will be diffreniated by time ie candle sticks. Does that make any sense
Hello All. I'm new here so I apologize if this question has asked but here it goes... I'm trying to figure out if I there is a way I can grab the past values of EMA or MACD using candlesticks as an increment. Or would it be easy to build an array and