flwilliams87
flwilliams87
flwilliams87
Added topic Not able to buy or sale when testing my code.
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
flwilliams87
Added topic My trading account says "Automating trading is disabled"
I want to test some code I just wrote but I can't because automated trading has been disabled.  Thoughts
flwilliams87
Added topic Can I change the path of "TradeAlgorithms.mqh" that my code is looking for?
My code is looking for "TradeAlgorithms.mqh" in a directory that is convoluted and several levels deep.  Can I simply this
flwilliams87
Added topic Most Current Values in My Array
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]
flwilliams87
Added topic Trying to capture the current closed price
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
flwilliams87
Added topic Program base price and quote 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. 
flwilliams87
Added topic My for loop is not incrementing
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?   
flwilliams87
Added topic SellPositionOpen(): OrderCheck(): Invalid request stops
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()
flwilliams87
Added topic My EMA array keeps showing a negative value, is that normal?
My EMA array keeps showing a negative value, is that normal or did I do something wrong
flwilliams87
Added topic Coding a cross
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. 
flwilliams87
Added topic trying to capture values for EMA.5, EMA.10 and SMA.50 and SMA.100
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
flwilliams87
Added topic Building Array if Indicator Values based that contains previous 8 values
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
flwilliams87
Added topic Cature RSI Value
Been trying to capture RSI value (which should be between 0 and 100) but iRSI does seem to provide that.  Am I missing something
flwilliams87
Added topic Compare ever element in an array to a static value?
Is there a way for me to compare every element of an array with a static value via an IF statement? I don't think ArrayCompare works for this.  Thanks
flwilliams87
Added topic Lookback feature for EMA and MACD
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
flwilliams87
Registered at MQL5.community