- Search Metals Mine
- 76 Results (1 Threads, 75 Replies)
- fbrand79 replied Sep 11, 2018
Hi Nicholishen, I have tried using your previous example that I have tweaked a little to draw arrows but just can't get them to appear. Please can you have a look at the code and see where I'm going wrong. Thanx
- fbrand79 replied Aug 12, 2018
Nicholishen: I've tried reading up on the Standard Library, but there is not much out there and almost no examples to work from if you don't have some C background I suspect. Can you please just show me using FOO.mq4 how to add a custom indicator, ...
- fbrand79 replied Aug 10, 2018
, and here I was thinking that I was getting the hang of writing my own code. WOW and thanx!! You have really peaked my interest now with this. How can I learn more because all I can see on the web is relating to mql5 or ...
- fbrand79 replied Aug 10, 2018
Thanx FutureSpec, I see my rookie mistake with the declarations. Though it still only needs to draw an arrow once the Current TF candle has closed, so Stochs on the CTF has to be on the i=1, and then the Higher TF will still be in progress and that ...
- fbrand79 replied Aug 10, 2018
Thanx a bunch. Will try it out.
- fbrand79 replied Aug 10, 2018
Okay, no-go. I think it need the FOR loop on the HTF to use i=0 and then a FOR loop on the CurrentTF to be i=1. But how do you then run the conditionals? EDIT: Attached I've done how I think it should be, but won't compile and I'm a bit stuck. ...
- fbrand79 replied Aug 10, 2018
Thanx, but I think I need the array to go from right-to-left. Think I got the issue, looks like my i=1 and changed it to i=0 in the "for" loop. Now I get the current and also can look at the hours x-bars back on the hour. Will test a little bit. ...
- fbrand79 replied Aug 10, 2018
The attached file shows that I'm looking at M5 with an H1 Stoch attached. I know it's a bad example but what I want is to be able to see where the Current H1 Stoch at 0750 is even if it has not closed yet, in relation to it's already closed bar on ...
- fbrand79 replied Aug 9, 2018
I need some help to understand how the iBarShift works as per the above request. Thanx
- fbrand79 replied Aug 8, 2018
While I'm here..... I came across this ea that I'm trying to understand some basic workings etc, but it was written few years ago. It's working and all but it executes on every tick and is killing my MT4. Can anybody please have a look and ...
- fbrand79 replied Aug 8, 2018
STOCH CROSS INDI HELP Can somebody please assist me as I'm trying to understand how to correct the following. I'm learning MQL4 and have the following 2 issues I don't understand. #1: In the attached example I want to put the indicator on an M5 ...
- fbrand79 replied Nov 25, 2015
cyber1- As mentioned I'm trying to get the alert on candle 0, but only need the alert is condition is met. Currently it alerts with every bar open. I've attached the file. Then I'd also like to know how can I specify Close[i+1 -> i+5 or more] is ...
- fbrand79 replied Nov 22, 2015
cyber1- Thanx, I've placed it exactly as your example but it gives an alert with every new bar. Just once at least, but it should only alert once the if condition has been met. Remember that I need a repainting arrow on the current bar 0 and the ...
- fbrand79 replied Nov 19, 2015
cyber1 I tried that which you gave me but it only gives a bunch of alerts for the first second, and it alerts with every bar. I managed to find an old indi that only alerts once, but now it alerts with every bar, and ain't even considering my if ...
- fbrand79 replied Nov 18, 2015
Morning all, Been in and out of forex and trying to do it on my own, but obviously that didn't work. I've read TMS before and traded it for a while, but can somebody please point me to the post that explains how to use the current indies as per ...
- fbrand79 replied Nov 17, 2015
cyber1 you're the man... I'm gonna look into bartime. Thanx again for the help, I have the basics but still struggling with where to do what.
- fbrand79 replied Nov 16, 2015
I need to add an arrow and alert when price breaches an MA from above, but it should repaint as when the price does not close below the MA to disappear again. I have it that it draws the arrow and alert for candle 0 when it breaches, but the alert ...
- fbrand79 replied Nov 16, 2015
cyber1 Thanx for the info, will go tru it.
- fbrand79 replied Nov 13, 2015
cyber1 Thanx for the help, it works now. I see you changed the following from int counted_bars=IndicatorCounted(); int limit =Bars-counted_bars-1; for(int i = 0;i<limit;i++){ to the new int counted_bars=0; if(counted_bars>0) counted_bars--; int ...
- fbrand79 replied Nov 12, 2015
Cyber1 Apologies, it was at midnight so I think I copied the wrong stuff. The first one is the indi that goes onto the chart and draws the arrows. TANArrows. The second is the one being called. TANDraws. I saw in the For loops that the one place is ...