Optimus-Primus / Publications
Forum
IHighest and iRsi
Good day I need some help please. I am writing an EA and need to code the following: -Highest of 0 - 10 bars > Highest of 10-20 bars - RSI of highest bar of 0 - 10 < RSI of highest of 10 - 20 I have; int high10 = iHighest(NULL,0,MODE_OPEN, 10,0); int high20 = iHighest(NULL,0,MODE_OPEN, 20,0);
High and RSI divergence
Good day I need some help please. I am writing an EA and need to code the following: -Highest of 0 - 10 bars > Highest of 10-20 bars - RSI of highest bar of 0 - 10 < RSI of highest of 10 - 20 I have; int high10 = iHighest(NULL,0,MODE_OPEN, 10,0); int high20 = iHighest(NULL,0,MODE_OPEN, 20,0);
How to add Day() filter to indicator?
Hi I am using an indicator but would like to only get signals on certain days. Can someone please help with that. example if (close1>high2 && Day()>=2) but the Day>=2 don't work. I don't get any arrows with the day filter but do get when I take that part out
Symbol name in iRSI
Hi I am new to coding and need some help please. I am using iRSI(NULL,0....... for current currency and timeframe but would like to point it to a specific currency, like EURUSD but it doesn't work. Where do I get numbers for different currencies or what do I use instead of NULL ?? Thanks in
Help With Ticksize please
Hi Coders Can someone please help me to add ticksize for GBP,AUD,EUR,NZD crosses and SPX,DOW,GER30 AND GOL,SILVER PLEASE. Will be forever greatfull