I am trying to build a Panel that will show the current Spread and the CandleSize of a specific candle on mouse click. I made the calculation for Spread in OnTick and CandleSize in OnChartEvent. Can someone please advise how to transfer the calculated value of Spread and CandleSize in textboxes
Hello purchased this indicator for mt4 worked fine until recently. Creator said in the comments he cannot do anything and Service desk should fix it. When I apply this indicator nothing happens. Thanks
I am getting error as invalid lots amount for OrderSend Function . When I check the value of values of entryPrice, stopLossPrice , I gets it as 0. I don't know where am I going wrong. My code is as follows: ***
Hi, Please help me. Can anyone help me add Buffers to the indicator? I adjusted the indicator so that it doesn't redraw, but it memes Buffers, and I would need Bufers. Please, isn't there someone who can help me, add them to the indicator? Indicator have potential. Thanks
Hi Guys, I am testing out to write a strategy base on a custom indicator "Heiken Ashi Smoothed". The simple code as below, with a simple PRINT to verify if I get the right value. double array_HAS_Open[],array_HAS_Close[]; int OnInit () { //--- } void ResizeAllArrays() { ArraySetAsSeries
Thanks for you help. I was wondering when I placed my EA on my chart and turned off my computer. Is the EA going to run?
Can someone help me with an indicator that finds objects in the Chart of another indicator? My Indicator finds objects, but copies them, and does not show its own colors. I need it to show its own colors according to its own buffers. Thank you #property indicator_separate_window #property
[Deleted]
Hi I want to know how can I place buy order with EA when market moves (.... Pips) above open price. Please help me thanks
Hi can anyone help me interpret the following problem the idea that I am trying to apply is finding heights between close prices and Weighted moving average. int max_height; // to be used next double up_height[ 50 ]; // to be used next double down_height[ 50 ]; // to be used next double close [ 50
Hello folks is there a way to hide all the parameters input in an EA
I have an simple EA "test" that when I run it it , calls "FFC" indicator , but I see (Can not set timer) It happens when VPS is a little busy ! Is there solve for it
Hi im having some trouble coding with the ichimoku cloud I want to only use the up and down kumo simulating the cloud, Im not sure how to go about this. void OnTick () { //signal Variable string signal = "" ; //indicators double Cloud = iIchimoku ( NULL , 0 , 9 , 26 , 52
Hello there, absolute coding noob here — this is my first try at an EA. The code should create a trend line with one anchor point at the open of Friday and second anchor point at the close of the same day. Time frame is 1h bars. The idea is to look at the 1h chart and be easily able to see the PA on
Hello: I want to add a bar counter with up or down signals, every time MACD crosses the 0 line. EX: If macd crosses line 0 upwards. Show with an arrow between the last 12 bars the fourth lowest bar and the 10th lowest bar. The same in the opposite case. If macd crosses line 0 down. Show with an
Hello Guys, I want to write a file, when my Alert is fired. How do I do this? Thank you, Flo!
if (Close[i]-Open[i]> 0 &&Close[i]-Open[i]>size1* _Point &&i- 1 >= 0 ) dnArrow1[i- 1 ]=High[i- 1 ]+PadAmount1* _Point ; if (-Close[i]+Open[i]> 0 &&-Close[i]+Open[i]>size1* _Point &&i- 1 >= 0 ) upArrow1[i- 1 ]=Low[i- 1 ]-PadAmount1* _Point ; How i can add this
Hi all, I've previouly been able to login to my MT4 accounton the MQL Webterminal, but now the OK and Cancel button are both greyed out, and the login and password input windows are unresponsive. I've tried closing the window and clicking on Login to MT4 account, but it won't let me login. Anybody
Hi I use this indicator Spread_Recorder.mq4 http://www.forexfactory.com/showthread.php?t=195290 It has worked perfect with different brokers, but i just opened a new account with another broker and id stops to work.? I says: invalid filename for FileOpen function And i allso have created a folder...
I can see a close button next to every open trading position within terminal window of MT4.. Is there any way to disable this close button??
is this working? extern double MaxSpread = 5.0;Spread = (Ask-Bid)*10000;if(Spread >= MaxSpread) { return(0);}
Hello, i have 2 versions of MT4, one downloaded from the IG markets website, the other directly from the FTMO website. im getting a very strange thing: when i use the IG one my lines for entry TP ans SL are dottted, as ive always been used on MT4...while..on the other one...they are solid, and i
Helllo everyone, i need your help, How script/ function to filter profit, example : I Have 10 Buys Open Position. I need to calculate 4 Buys open Position with highest profits. Thank You
In the last month or so I have noticed that when I change accounts, especially from Live to Demo, MT4 freezes and crashes. This was not happening before. I have spoken with OspreyFX and they said nothing has changed that it is a MT problem. Anyone have similar issues or know what I can do? I've
Is there anyway to get value of MA line of RSIOMA, not the RSIOMA line
I've create a loop that calculates a previous date and then the iBarShift from this, but it doesn't seem to work) what am I missing? for ( int r = 0 ; r <= 150 ; r++) { datetime AfterMidnight = StrToTime( "00:00" ) - ( 3600 * 24 * r); int MidnightShift = iBarShift ( NULL , 60
Hello Can anyone please help me to convert a mt4 indicator (mq4) to tradingview indicator (pinescript)? Mt4 indicator attached below. Thank you
Hi All, I am a newbie in programming. I am trying to build an expert advisor based on Pinbar Candle. I want the EA to open a Buy Stop Order at the high of a Pinbar which test the 50EMA and a Sell Stop Order at the low of a Pinbar which test the 50 EMA. This part of code is working. However, I also
Greetings community I would like to ask how can I get the last zigzag high and low and display on the screen using the comment(). Anyone can help please?? Best Regards
Hi, How can I know which part of the code is causing this Abnormal termination/timeout message? 3 07:01:15.111 EA EURUSD.lmx,M1: shutdown by timeout 1 07:01:23.244 EA EURUSD.lmx,M1: Abnormal termination 0 07:01:23.244 EA EURUSD.lmx,M1: uninit reason 9 It seems a task...

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.