Diane Minshew
Diane Minshew
Diane Minshew
Added topic Possible Error in DateTime.mqh - Function CDateTime::DaysInMonth(void) const
Function always returns 0  #include   <\Tools\DateTime.mqh> //+------------------------------------------------------------------+ //| Script program start
Diane Minshew
Added topic Global Variable not updating when conditions are met.
Gap classifications not updating the Global variable Status; //--- Global Decalaration; int GapSignature; //--- OnItnit //---Variable GapSignature = GapFinder(); //--- Function int GapFinder() { int GSTemp = 0; int GeneratedGapSignature = 0; bool
Diane Minshew
Added topic Strategy Tester get events from other charts
I am looking for a way to get events from other charts during back testing and forward testing. Anyone have any ideas or run into this problem
Diane Minshew
Added topic How to get the stoploss of the previous order?
Some parts of my EA require validation of a previous price level. The best way I can think of is getting the last order in history and check the stop loss but there is no option for getting the stop loss of the last order in history
Diane Minshew
Added topic Python Query
I building a way to interact with the python django framework. Before starting I am asking if anyone had had any success with Python MQL5
Diane Minshew
Added topic Auto loading indicators on call and unloading
When trading I would like for some indicators to load up on the screen and exit 15 minutes later. Are there any examples or articles
Diane Minshew
Added topic Get data from SQL into an array for decision making.
I copy my economic calendar into a sql database I would like to put the data into an array and use it for support
Diane Minshew
Added topic Create Indicator based on data from Sql
How do you get data from SQL for an indicator
Diane Minshew
Added topic Scan Broker Server for Symbols not active in MarketWatch
I don't see the functionality to scan the Brokers Server for Symbols Example Problem : I have 2 Majors, 0 Crosses Active in the MarketWatch. I would like 2 More Majors and 3 Crosses.  Now 1 of the Crosses are NOT Supported by the broker
Diane Minshew
Added topic Why does the IDE freeze after 6000 to 10000 lines of code
ive been coding none stop for the past 5 days and now serious lag is slowing me down.. when i type i have to wait for aleast 20 seconds or more before the the data typed, is entered into the ide.. is there a way to solve this
Diane Minshew
Added topic Problems printing error messages during OnInit
Inputs input bool                 Inp_Trade_Indicator_Signals       = true ;     // Enable the use of indicators input
Diane Minshew
Added topic What is the formula to reduce Lot
use CalcMargin Function and I calculate Lot Size to be 1.03 how can i step it down to 1.02
Diane Minshew
Added topic After EA compile Settings are not changing how do you clear the cache are is that the problem?
After compile, test, compile, test.. ect. ect. ... New code compiles correctly but settings changed like Input Constants do not change. After setting up a new demo account and decreasing the leverage from 1:200 to 1:50 Leverage does not change when
Diane Minshew
Published code Tally for Wins and Losses
Way to keep a tally of wins an losses.
· 1 3668 1247
Diane Minshew
Added topic Global Variables Not Increamenting Properly
Tracking wins, and losses  //Global Variables          int losses = 0 ;          int wins   = 0 ; // Scan History double ScanClosedTrades()   {
Diane Minshew
Added topic Checking if the last trade was profitable or not
I can check the open price I can not get the close price to compare them. HistoryOrderGetDouble ( HistoryOrderGetTicket ( HistoryOrdersTotal ()- 1 ), ORDER_PRICE_OPEN );
Diane Minshew
Added topic Pending Order should cancel but does not,
//Enumerations    enum DateTimeToDays      {      s1DAY    = 1 ,   // 1 DAY      s2DAY    = 2 ,   // 2 DAY
Diane Minshew
Added topic Calculating pending order expiration : Datetime vs Timer
Would if be better to use datetime and calculate the future date of expiration or count using a timer to delete the pending order
Diane Minshew
Added topic My stoploss and take profit will not move
void LongPositionMoveSLTP() { double slb = NormalizeDouble(iEnvelopeUp[1],_Digits); double tpb = NormalizeDouble(iEnvelopeBtm[1],_Digits); MqlTradeRequest mrequest; MqlTradeResult mresult; ZeroMemory(mrequest); ZeroMemory(mresult);
Diane Minshew
Registered at MQL5.community