juicyt Posted June 11, 2011 Report Share Posted June 11, 2011 Hi to all programmers. Does anyone with some good programming knowledge believe they could make an indicator that could evaluate MTF trajectory in the market? So not just MTF alignment, but speed and time also. I'd image this would be a very hard task but if someone was interested I could help them with some further details before they start to see if they think it could be done. (and a reason why I am asking) Regards, Juicyt Quote Link to comment Share on other sites More sharing options...
sgsgsg Posted June 12, 2011 Report Share Posted June 12, 2011 1) Do you have any formula or point me to one? 2) Any MTF indicator repaints (adjusts) on the lower time frame. For example a 4hr indicator repaints (adjusts) on one hour based on the price movement. So if you are clear with what your are thinking , please post your formula here. I have 2 hours per week free time .Will try to do something. Else , there are lot of good and smart people around some one will help you. Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 12, 2011 Author Report Share Posted June 12, 2011 I have something to help, but not a formula as such. More like a step by step requirement. Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 12, 2011 Author Report Share Posted June 12, 2011 (edited) Thinking a little about it, and I have a feeling that a MTF analysis indicator that measures the distance that price is away from an MA should possibly work. It would need to check multiple timeframes (from 1min to weekly) and give an alert when price is a desired amount away from the MA on every time frame. That amount would obviously need to be adjusted for all time frames but if this sort of thing is possible, that's where I would start. So my next question is, Is this type of thing possible? Maybe it is more of an EA rather than an indicator. Or maybe it needs to be a program all to itself. hmmmm the questions I have no answers to! So thinking a little more, people have dashboard indicators so I guess it would need to be that type of indicator. One that you stick on a blank background and it checks the pairs for you. It could even light up a square for example as each time frame analysis hits the desired amount. juicyt Edited June 12, 2011 by juicyt Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 12, 2011 Report Share Posted June 12, 2011 Hi juicyt, This seemed like an interesting indicator so as I had some spare time I've had a go at coding it. Here it is with template: http://www.multiupload.com/MCC4C4B5E3 Here's a screenshot: http://img541.imageshack.us/img541/1149/mtfpricetraj.jpg Distance from each MA can be set in the parameters. All are currently defaulted to 5 pips. mercy18, smurf43, hermes and 3 others 6 Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 12, 2011 Author Report Share Posted June 12, 2011 (edited) I think that is perfect. Very nice job, I have no idea how you can do it and do it so fast, but very nice. Check your PM. Now I'll have to work out some settings to input! Thanks soundfx What does the MAPrice input mean soundfx? It is currently on 0. Regards Edited June 12, 2011 by juicyt Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 13, 2011 Report Share Posted June 13, 2011 No probs juicyt, MAMethod has these possible settings: 0 = SMA 1 = EMA 2 = Smoothed MA 3 = Linear Weighted MA MAPrice has these settings: 0 = Close Price 1 = Open Price 2 = High Price 3 = Low Price 4 = Median Price (H+L)/2 5 = Typical Price (H+L+C)/3 6 = Weighted Close (H+L+C+C)/4 ⭐ dukeaugustus and smurf43 2 Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 13, 2011 Author Report Share Posted June 13, 2011 (edited) Thanks Soundfx. I think I have a problem. Once I change settings, the 15min indicators do not change. If I set it to 1 pip or 100 pips it remains lit on all pairs. Any chance you can take a look? So if I alter settings too much it seems to all shift to red indicator lights on 15min TF and display nothing onanything else but weekly TF. Regards Edited June 13, 2011 by juicyt Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 13, 2011 Report Share Posted June 13, 2011 (edited) Oops - there are always bugs which creep out of the woodwork like this :) Here's a fixed version: http://www.multiupload.com/OC72XD7SV5 Restart MT4 after copying into the indis directory for the new version to be picked up. The only bug I noticed was in the 15m calculation - see how this one goes... Edited June 13, 2011 by soundfx retireme 1 Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 13, 2011 Author Report Share Posted June 13, 2011 Thanks again soundfx, now unfortunately we must play the waiting game. I set the indicator to this : m1-7pip, m5-30, m15-45, m30-65, 1hr-90, 4hr-160, d1-350, w1-600 This is strictly my observation and nothing more and things could and might need to be altered over a little time. But for now I'll see how it goes and see if the key TF's give alignment or trajectory. juicyt Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 13, 2011 Report Share Posted June 13, 2011 Hi juicyt, I noticed that the indicator was going crazy with alerts today which were ringing on each new 1m candle where the MA separations lined up!, so I've tried to reduce these as much as possible. I also noticed that the alert time was showing as the time of the last alert for all pairs, so this has now been changed to work independently for each pair. We get an alert when all t/f's match our MA separation rules. The problem is that price can bounce around these levels causing several alerts until it settles, if we want to reduce alerts further then we'd have to say something like, only alert on each new 5m, 15m or 30m candle or something like that. You can always turn off alerts in the parameters if they're annoying. I've also changed the default MA separations to those which you recommended. Here's the new version: http://www.multiupload.com/3DOD9LABKY Something I spotted today is that we need to be careful that we have historical data for all pairs. I ran the indicator on a new demo which had no history as yet for some of the more obscure pairs and I was getting incorrect signals (had me scratching my head for a while lol). You only need to do this once...Open a chart for each of the pairs and select each timeframe in turn so that MT4 pulls back the history data which is needed for the MA calculations. hermes 1 Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 14, 2011 Author Report Share Posted June 14, 2011 Nice idea, I will do that with the charts. Thanks. Also, I won't be using the alarm as it is so the alarm issues are ok for me right now. Take a read of that book and let me know what you think also soundfx. Juicyt Quote Link to comment Share on other sites More sharing options...
juicyt Posted June 24, 2011 Author Report Share Posted June 24, 2011 Just thought I'd let people know, not much happening using this indicator. I will try different settings but for now, It's not working as I hoped. I had 2 trades and both won for like 20pips last week with about the same draw down, but really not much more. soundfx 1 Quote Link to comment Share on other sites More sharing options...
soundfx Posted June 24, 2011 Report Share Posted June 24, 2011 Hi juicyt, Thanks for the feedback. The principle is a good idea, though if signals are too infrequent it probably needs a re-think, perhaps we're trying to get too many t/f's to line up at the same time ? Quote Link to comment Share on other sites More sharing options...
⭐ dukeaugustus Posted June 25, 2011 Report Share Posted June 25, 2011 (edited) Seems like a good idea for an indicator and for trading. For resolving not having enough trades, one possible suggestion is willing to trade even not all timframes align, I may be willing to ignore the larger timeframes like weekly or even daily. For example, if I see M1, M5, M15, M30, H1 all align, but D1 and W1 do not, I may still be willing to go in for a smaller target profit trade, assuming the short term trajectory will hold on a while longer, at least long enough for may be a scalp of 10 to 15 pips. I have not yet had time to try the indi that soundfx has so awesomely coded for us, but may be a possible suggestion for future update is an ability tell the indi to sound alarm based on alignment of only the specific timeframes one want to align. Maybe in the data input panel, can either check or uncheck a sub-set of the different timeframes. I know nothing about coding indis, so have no idea how difficult or how easy this suggestion is. So just ignore me if this idea is not useful or not doable. BTW, juicyt and soundfx, I have read something similar to what I think you are trying to do, let me try to find that ebook again in my archive hard drive, I will upload and pm it to you two, perhaps it may be helpful. Edited June 25, 2011 by dukeaugustus soundfx 1 Quote Link to comment Share on other sites More sharing options...
hermes Posted June 25, 2011 Report Share Posted June 25, 2011 If the longer TFs are going against you you are trading pullback. The next longer TF should be always in harmony with the TF you enter. That's insurance! Hermes Quote Link to comment Share on other sites More sharing options...
4xmeter Posted June 26, 2011 Report Share Posted June 26, 2011 (edited) If the longer TFs are going against you you are trading pullback. The next longer TF should be always in harmony with the TF you enter. That's insurance! Hermes However; many times those pullback change the trend of the higher time frame. Price is King. Well, not of the parasite type. We have to agree that the lower the time frame the closer to price it is. :D Do you know that the most requested indicator in FF is for an indicator that display in text format on the screen of how many pips is price away from a particular moving average? No one tackle it that way. Codemeisterr, came out with Pips2Ma but never with the display which is the one always requested. When they do; they are send to Pips2Ma. Anyhow, the distance of price from the moving average is something to look into it; as reversal points or sideways price behaviour. Edited June 26, 2011 by 4xmeter Quote Link to comment Share on other sites More sharing options...
vladv Posted June 26, 2011 Report Share Posted June 26, 2011 What timeframe/s and currency pair/s works best? Quote Link to comment Share on other sites More sharing options...
4xmeter Posted June 27, 2011 Report Share Posted June 27, 2011 (edited) What timeframe/s and currency pair/s works best? I do not know Vladv, first off I do not have a display text format on the screen indicator to analyze it. What I was saying; if it is requested a lot then it would be good to see if it is a value to it. What value? How price behave at certain distance +/- away from a particular moving average. Sorry, I am not a programmer. Manually, it will take time from my trading. Edited June 27, 2011 by 4xmeter Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.