Hi Forum, This indicator should analyze all currency pairs in all timeframes by searching for a Pinbar. My definition of a Pinbar is this: Long Pinbar = the lower shadow must be at least 75% of the whole candle. Short Pinbar the same with the upper
Hello, I know from Visual Basic that it is possible to use higher increments than 1. There you can add a "step 5" for an increment of 5 instead of 1. Is that also possible with MQL4? I want to make a for-loop and I need the numbers
Hi, I would like to create a simple rectangle with fixed times. For example: ObjectCreate("Test", OBJ_RECTANGLE , 0, 8:00, 1.6300, 12:00, 1.6200); As you can see, it should start at 8:00 and end at 12:00 with a 100 pip range. My problem is
Hi, I would like to make an indicator which has two extern variables: risk (in %) and stop loss. The indicator should print the correct lotsize in the upper right corner of the chart . But there is one issue I can't solve. For example, my loss is
Hi Forum, I use many horizontal / trendlines in my chart and sometimes I like to change the colors of them. It is really much work when you have to do it with 15 charts. Therefore I wanted to know if it is possible to set a new color for all lines in
Hi, I use an alert-message containing Close[0] and the price shown in the alert window is displayed like this: 1.34420000 (EURUSD) or 134.25000000 (EURJPY). Can someone please tell me how to cut the last zeros? I didn't find anything with the search
Hello coders, I would like to program a very simple indicator which displays an alert when the last bar's low is above the SMA20 and the space between the bar's low and the SMA20 must be smaller then the bar's size. Until now that is no problem. But
Hi, I want to calculate the average volume of the 5 bars (no. 2-6) and I did it this way: double vol2=iVolume(NULL, 0, shift+2); double vol3=iVolume(NULL, 0, shift+3); double vol4=iVolume(NULL, 0, shift+4); double vol5=iVolume(NULL, 0, shift+5);
Hi Forum, I use the Ichimoku indicator and I wanted to see if the the price is above, in or below the cloud in a higher timeframe. I trade the M5 and wanted to know how the M15 looks like without switching the timeframe. Green = last bar is above the
hi to all! i used the search function to solve this problem on my own and i found something but the problem is, i don't know how and where to implement it. i would be very happy if someone fixed this pivot-indicator that it ignores sunday data. i
hi forum, i use an indicator which is named "o-bo trendbars". maybe some of you know it. the problem is that i only got a decompiled version of it and it's very hard for me to understand how it works. i wanted to make a small indicator
hi forum, this indicator displays an alert, everytime the price touches a horizontal line . that works fine with pivot-indicators and also with lines i draw myself. now i want to know if it is possible that an alert comes up when a diagonal trendline
hi forum! i use 6 moving averages and i want to know if the current price is over or under them. therefore i have to know the highest value of the mas and the lowest. i thought there is something like: double maximum =
hi coders, for my trading i mainly use pivot points and support/resist. the pivots are made by an indicator and the support/resist lines are drawn by myself. i only want to look at the charts when price approaches or touches ANY horizontal line . is
hi forum, i have an indicator which shows an alert when EMA5 crosses EMA10. but this alert should only pop up when a trade is running in that pair. can somebody please show me how to check if a trade is currently running? i tried it with
hi coders, i don't know why this email-alert can't be compiled: if (eMailAlerts) SendMail("MT4 ALERT", "EMA Crossover ",Symbol()," M",Period()+ " @ " + TimeToStr(TimeLocal(),TIME_SECONDS)); i always get the
hi programmers! i found this macd -indicator with an alert. now i would like to print LONG in the indicator window when the histogram is > 0 and SHORT when histogram is < 0. but i have no idea how to print a text. i tried it with OBJECTSET but