Forum

Has anyone found/coded a 'Stop and Reverse single pivot' indicator (youtube vid incl. for more explanation)

I was wondering if anyone has seen the indicator used in the following youtube clip for MT4? https://www.youtube.com/watch?v=rv0-u_9FDTE watch from 2:21 -Tanks

Indicator for days of the week?

Hello, I was wondering if anybody has seen an indicator which highlights the beginning and end of each day of the week? maybe something similar to this https://www.mql5.com/en/code/7753 except instead of session the days of the week are marked Thanks

trending vs trading

Hey guys Just wondering if anyone has any good ideas for detecting whether a pair is trending or trading, obviously there is no perfect solution. Just looking for ideas. I was thinking maybe an indicator that detects divergence between macd and stochs or rsi? Or some other indicator anyone has seen

Closing order Logic???

Hello I have been using psar to trigger buys and sells, but Im having problems with the EA closing the order a second later, Im just wondering if anyone has any idea whats wrong with my coding below double PSAR_5M= iSAR (Symbol(),PERIOD_M5,0.03,0.02,1); double

How to avoid Repainting?

Hello I'm wondering if anyone has a good solution for indicators that repaint? so far I have been using the following code to avoid it but I'm pretty sure that someone out there has probably figured out a better way to do it, double PSAR= iSAR (Symbol(),PERIOD_M5,0.04,0.2,1); double

Point differences in currency pairs?

Hello im trying to make a stop loss/ trailing stop system for an EA that could be used on any currency pair , the problem is that a pip on one pair is worth more than on another pair (ie USDJPY pip is more than a AUDUSD). How do you get around this? thanks

Using iCustom with strings

Hello Im having a little trouble with the iCustom function, my code so far is as follows - string open_pair ; string pairs_names [ 2 ] = { "EUR" , "GBP" } ; open_pair = StringConcatenate ( " \" " , pairs_names [ 0 ] , pairs_names [ 1 ] , " \" " ) ; Alert ( open_pair ) ; double final_check_ma1 = iMA

String Concatenate problems?

Hello Im having a little trouble with the string concatenate function , my code so far is as follows - string open_pair ; string pairs_names [ 2 ] = { "EUR" , "GBP" } ; open_pair = StringConcatenate ( " \" " , pairs_names [ 0 ] , pairs_names [ 1 ] , " \" " ) ; Alert ( open_pair ) ; double

Using Custom Indicators

Hello guys I am trying to create an EA using "Damiani volatmeter", but Im unsure at this point how to check its status. I assume i would use iCustom , but im not sure how to do that with an indicator like this one thanks

Really simple coding problem?

Hello would anyone care to advise me why this piece of code doesnt work? double MA=iMA(NULL,0,1,0,MODE_SMA,PRICE_CLOSE,0); double ST=iCustom(Symbol(),0,"SuperTrend",10,3,0); if (MA<ST) { ObjectCreate("Arrow", OBJ_ARROW ,0,1,1); Alert("Arrow created?"); } Im