paulgriffiths
paulgriffiths
Friends

Add friends via their profile or user search and you will be able to see if they are online

paulgriffiths
Added topic indicator_separate_window how to change timeframe on on this indicator only?
I'm using 2 indicators, one is current window and the second is indicator_separate_window. How do i change thetimeframe for the secondindicator? I have tried: ChartSetSymbolPeriod (    0 ,     // Chart ID   
paulgriffiths
Added topic How to stop indicator flashing?
When using indicators within my EA, in strategy tester when at high speed can notice a flashing pattern from the indicator. I'm guessing it's because rates_total < 100?‌ Why does MetaTrader provide such a poor implementation when used within an
paulgriffiths
Added topic Advice for deciding which way price is currently?
Any advice on deciding this?‌ Best I can come up with i: total = 0 ;        double div = 1 ;        for (shift= ArraySize (close) - 1 ; shift >= 1 ; shift--)
paulgriffiths
Added topic Do I have to delete buffers?
I'm creating buffers using: double LowsBuffer[]; int copy= CopyBuffer (indicatorhandle, 1 ,start_time,stop_time,HighsBuffer); Do I have to delete them? Thanks.‌
paulgriffiths
Added topic Doing without ArraySetAsSeries(close,true)?
How do I access close[] array correctly without using ArraySetAsSeries(close,true)?‌ Currently using: ArraySetAsSeries (close, true ); for (shift= 0 ; shift < 500 ; shift++) {       total += close[shift]; } thanks.‌
paulgriffiths
Added topic How to get close[] from within EA?
In indicators  close[] is provided by OnCalculate() function . ‌Can I get close[] array from my EA?‌ Thanks.‌
paulgriffiths
Added topic Not use ArraySetAsSeries(Buffer,true); how to access buffer correctly?
In my indicator I'm using ArraySetAsSeries(Buffer,true); for series access. If I access the buffer from my EA with iCustom how can I access the series order correctly?‌ Thanks.‌
paulgriffiths
Added topic Sharing an array between all instances of EA's?
I wish to create an array: const int profitsSize = 32;‌ double potentialProfits[profitsSize]; Is it possible to share this array with all instances of my EA? It's so the EA's can decide which currency pair to open, the most profitable one. I also
paulgriffiths
Added topic Can't draw to the window.
Moving from mql4 to mql5 but can't even draw a rectangle, tried: ObjectCreate(0, "Rectangle", OBJ_RECTANGLE , 0, time[0], 1, time[5], 2) just to get going but nothing is showing. What's wrong? Here's the full code: #property copyright "Copyright
paulgriffiths
Added topic EA: Place order of 50 percent equity?
I'm new to EA's. I've decided which to open, buy/sell. How do I only open at 50% of my equity? I'm guessing Equity * 0.5. But that does not get me the amount of pips. Thanks.‌
paulgriffiths
Added topic Close all scripts not working
hi, am using mt4, and have tried a few scripts and expert  indicators that close all open trades but none of them work. Am I missing something? Thanks Paul
paulgriffiths
Registered at MQL5.community