barend15 Posted April 9, 2012 Report Share Posted April 9, 2012 Thank you very much for your effort, it is really appreciated. So far with my little knowledge of Ocean, I like the X RAY 1 a lot. Quote Link to comment Share on other sites More sharing options...
edmun1388 Posted April 9, 2012 Report Share Posted April 9, 2012 hi barend15 , dont mind teach us how to use it since till now I dont seen any manual teach how to use those indicators . Quote Link to comment Share on other sites More sharing options...
udc Posted April 9, 2012 Author Report Share Posted April 9, 2012 Ocn_NDX for MT4 Here goes Ocn_NDX - first of three bounded Ocean indicators. Original Ocn_NDX on TradeStation: http://img18.imageshack.us/img18/4526/ndxtradestation.png Ocn_NDX on Metatrader: http://img269.imageshack.us/img269/4003/ndxmetatrader.png Original size screenshots: http://img138.imageshack.us/img138/4526/ndxtradestation.png http://img27.imageshack.us/img27/4003/ndxmetatrader.png #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Red #property indicator_level1 0 #property indicator_level2 50 #property indicator_level3 -50 #property indicator_levelcolor Gray #property indicator_levelstyle 2 extern int NDX_period = 40; extern int SmLen = 20; double NDX[]; double RawNDX[]; int init() { if(SmLen < 10) SmLen = 10; else if(SmLen > 30) SmLen = 30; string ndxname = "NDX(" + NDX_period + ")"; IndicatorShortName(ndxname); IndicatorDigits(0); IndicatorBuffers(2); SetIndexBuffer(0, NDX); SetIndexLabel(0, ndxname); SetIndexBuffer(1, RawNDX); return(0); } int start() { int limit, i, ii, counted_bars = IndicatorCounted(); if(Bars <= NDX_period + 3*SmLen) return(0); if(counted_bars < 0) counted_bars = 0; if(counted_bars > NDX_period) limit = Bars - counted_bars; else limit = Bars - NDX_period - 1; for(i = limit; i >= 0; i--) { double SumWght = 0, SumDnom = 0, DifAry, DnomAry, FracAry, TimeAry, WgtAry; for(ii = 1; ii <= NDX_period; ii++) { DifAry = MathLog(Close[i+ii-1]) - MathLog(Close[i+ii]); if(ii == 1) DnomAry = MathAbs(DifAry); else DnomAry += MathAbs(DifAry); if(DnomAry == 0) FracAry = 0; else FracAry = (MathLog(Close[i]) - MathLog(Close[i+ii])) / DnomAry; TimeAry = 1 / MathPow(ii, 0.5); WgtAry = FracAry * TimeAry; SumWght += WgtAry; SumDnom += TimeAry; } RawNDX[i] = 100 * SumWght / SumDnom; } double ExpSmooth = 2, XAvg1, XAvg2, XAvg3, TemaNDX; ExpSmooth = ExpSmooth / (SmLen + 1); for(i = Bars - NDX_period - 1; i >= 0; i--) { XAvg1 += ExpSmooth * (RawNDX[i] - XAvg1); XAvg2 += ExpSmooth * (XAvg1 - XAvg2); XAvg3 += ExpSmooth * (XAvg2 - XAvg3); TemaNDX = 3 * XAvg1 - 3 * XAvg2 + XAvg3; if(i < Bars - NDX_period - 1 - 3*SmLen) { if(TemaNDX > 90) NDX[i] = MathRound(90 + (TemaNDX - 90) / 2); else if(TemaNDX < -90) NDX[i] = MathRound(-90 - (MathAbs(TemaNDX) - 90) / 2); else NDX[i] = MathRound(TemaNDX); } } return(0); } The source code is also available for download here: http://pastebin.com/DRuAK9GY taipan, kolikol, tgt123 and 3 others 6 Quote Link to comment Share on other sites More sharing options...
udc Posted April 9, 2012 Author Report Share Posted April 9, 2012 hi barend15 , dont mind teach us how to use it since till now I dont seen any manual teach how to use those indicators . How come you don't see any manual? What are those 9 DVD videos I posted here? Do you think Pat is telling jokes there? :) All those vids contain nothing but the teaching how to use Ocean software. I even uploaded them to videobam.com so you can directly watch them without any downloading. So stop whining and start learning 8-) Quote Link to comment Share on other sites More sharing options...
edmun1388 Posted April 9, 2012 Report Share Posted April 9, 2012 not I dont want download , my download speed is 20KB/s . I will try ask my friend setup server help me download all those video .thx Quote Link to comment Share on other sites More sharing options...
ahuramazdi Posted April 9, 2012 Report Share Posted April 9, 2012 How ... So stop whining and start learning 8-) As I was downloading I used all of my thank yous and the forum does not let me to thank you anymore!!! So here is a very big thank you for all your hard work and help. It has been a pleasure seeing a master who enjoys what he does at work. A very BIG HEART FELT THANK YOU. udc 1 Quote Link to comment Share on other sites More sharing options...
udc Posted April 9, 2012 Author Report Share Posted April 9, 2012 Ocn_NST for MT4 Ocn_NST. Discrepancies from the TradeStation are due to the different price feed, the math is identical. It calculates ranges using highest high and lowest low so the result is highly affected by the spikes and how much the broker averages them. Original Ocn_NST on TradeStation: http://img827.imageshack.us/img827/5014/ocnnsttradestation.png Ocn_NST on Metatrader: http://img707.imageshack.us/img707/2519/ocnnstmetatrader.png Original size screenshots: http://img444.imageshack.us/img444/5014/ocnnsttradestation.png http://img217.imageshack.us/img217/2519/ocnnstmetatrader.png #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Red #property indicator_level1 0 #property indicator_level2 50 #property indicator_level3 -50 #property indicator_levelcolor Gray #property indicator_levelstyle 2 extern int NST_period = 20; extern int SmLen = 10; double NST[]; double RawNST[]; int init() { if(SmLen < 5) SmLen = 5; else if(SmLen > 15) SmLen = 15; string nstname = "NST(" + NST_period + ", " + SmLen + ")"; IndicatorShortName(nstname); IndicatorDigits(0); IndicatorBuffers(2); SetIndexBuffer(0, NST); SetIndexLabel(0, nstname); SetIndexBuffer(1, RawNST); return(0); } int start() { int limit, i, ii, counted_bars = IndicatorCounted(); if(Bars <= NST_period + 3*SmLen) return(0); if(counted_bars < 0) counted_bars = 0; if(counted_bars > NST_period) limit = Bars - counted_bars; else limit = Bars - NST_period - 1; for(i = limit; i >= 0; i--) { double SumWgt = 0, SumDnom = 0, HghAry, LowAry, RngAry, FrcAry, TmeAry, WgtAry; for(ii = 0; ii <= NST_period; ii++) { HghAry = iHigh(NULL, 0, iHighest(NULL, 0, MODE_HIGH, ii, i)); LowAry = iLow(NULL, 0, iLowest(NULL, 0, MODE_LOW, ii, i)); RngAry = HghAry - LowAry; if(RngAry == 0) FrcAry = 0; else FrcAry = (Close[i] - LowAry) / RngAry; TmeAry = 1 / MathPow(ii+1, 0.5); WgtAry = TmeAry * FrcAry; SumWgt += WgtAry; SumDnom += TmeAry; } RawNST[i] = (200 * SumWgt / SumDnom) - 100; } double ExpSmooth = 2, XAvg1, XAvg2, XAvg3, TemaNST; ExpSmooth = ExpSmooth / (SmLen + 1); for(i = Bars - NST_period - 1; i >= 0; i--) { XAvg1 += ExpSmooth * (RawNST[i] - XAvg1); XAvg2 += ExpSmooth * (XAvg1 - XAvg2); XAvg3 += ExpSmooth * (XAvg2 - XAvg3); TemaNST = 3 * XAvg1 - 3 * XAvg2 + XAvg3; if(i < Bars - NST_period - 1 - 3*SmLen) { if(TemaNST > 85) NST[i] = MathRound(85 + (TemaNST - 85) / 2); else if(TemaNST < -85) NST[i] = MathRound(-85 - (MathAbs(TemaNST) - 85) / 2); else NST[i] = MathRound(TemaNST); } } return(0); } The source code is also available for download here: http://pastebin.com/HECMnLvB tgt123, kolikol, Alex-622 and 1 other 4 Quote Link to comment Share on other sites More sharing options...
udc Posted April 9, 2012 Author Report Share Posted April 9, 2012 not I dont want download , my download speed is 20KB/s . I will try ask my friend setup server help me download all those video .thx You don't have to download them, that's what I am telling you - you can watch them online! Check the videobam links I posted before. As I was downloading I used all of my thank yous and the forum does not let me to thank you anymore!!! So here is a very big thank you for all your hard work and help. It has been a pleasure seeing a master who enjoys what he does at work. A very BIG HEART FELT THANK YOU. Thank you, that's kind of you. You are very welcome. Well, you are right, I am a programmer for more than a quarter of century and I still enjoy it very much. The funny thing is I started this thread in hope that someone could access the TSD advanced elite forum and download the indis from there so I don't have to program it myself, and I ended up just doing exactly that :-) The bright side is that because of that I had to go closely through the videos and the manual several times to understand what I am programming so I learnt about it much more than I would otherwise. If I didn't know how NMC/NMC2/NMS and NMA/FastNMA are programmed I most probably wouldn't appreciate them as much as they truly deserve. Quote Link to comment Share on other sites More sharing options...
ahuramazdi Posted April 9, 2012 Report Share Posted April 9, 2012 This is exactly what that prolific EA Coder Steve Hopwood says. He has made hundreds of EAs and all FREE of charge. He says with each EA he has a better understanding of the market dynamics. You should visit his site. It is a trader / programmer`s paradise. Totally free of charge. If we can get his interest he would even make EAs for us FREE of charge. you can google his name to find his site. Thanks once again for this feast of goodies. Kind Regards Quote Link to comment Share on other sites More sharing options...
ahuramazdi Posted April 9, 2012 Report Share Posted April 9, 2012 Ocean Full indicator manual needed I downloaded the file "Jim-Sloman---Ocean-Theory.7z", but when I try to open the four files with the indicator manuals I get a error message saying that the compression was not supported. I would be most grateful if someone could post the manuals in an alternative place in ZIP Format. MANY THANKS Quote Link to comment Share on other sites More sharing options...
edmun1388 Posted April 9, 2012 Report Share Posted April 9, 2012 Hi ahuramazdi download 7zip software http://www.7-zip.org/ Quote Link to comment Share on other sites More sharing options...
udc Posted April 9, 2012 Author Report Share Posted April 9, 2012 (edited) Ok, now I will make Ocn_NXC in the original form for reference and the improved Ocn_NXCx version with ZH marking. Then I will remake NDX and NST together into an improved Ocn_NDXNSTx with a single NMA of both of them (thus 3 lines in total) - as is Jim showing in this video: Then it will be time for BTX/STX. If anyone has any suggestion what to change, improve or add, just say so. EDIT: I've got another idea - wherever an indicator has the SD bands, add an optional middle SD line, as Pat is showing close to the end of this video: Edited April 9, 2012 by udc tgt123 and iho 2 Quote Link to comment Share on other sites More sharing options...
Grain Trader Posted April 9, 2012 Report Share Posted April 9, 2012 You don't have to download them, that's what I am telling you - you can watch them online! Check the videobam links I posted before. Thank you, that's kind of you. You are very welcome. Well, you are right, I am a programmer for more than a quarter of century and I still enjoy it very much. The funny thing is I started this thread in hope that someone could access the TSD advanced elite forum and download the indis from there so I don't have to program it myself, and I ended up just doing exactly that :-) The bright side is that because of that I had to go closely through the videos and the manual several times to understand what I am programming so I learnt about it much more than I would otherwise. If I didn't know how NMC/NMC2/NMS and NMA/FastNMA are programmed I most probably wouldn't appreciate them as much as they truly deserve. hi UDC I must commend you on the time and effort you have put into re programming these indicators for MT. I dont use MT I am still using TS. I bought these ocean indicators about 4 years ago and like you I have dedicated many hours learning and watching the videos. At first I was very excited about using them and I have actually used them to trade my own account, Gradually I lost interest but since you started this thread it has re-ignited my interest again. What is your personal opinion of them, do you find them accurate and reliable? and how would you compare them to similar indicators like the Jurik tools Quote Link to comment Share on other sites More sharing options...
udc Posted April 10, 2012 Author Report Share Posted April 10, 2012 (edited) Grain Trader: hi, well I will need some time to properly answer your question. As for Jurik, I am hearing that name for years but every time I get interested and visit his website the obsolete webdesign which looks like it was created back in 90s totally discourages me. There is even his photo that looks like it was taken not later than in 90s as well, if not earlier. And there is a quote that the cold war is over. Well, yeah, the cold war is over for almost 25 years now. I am not judging the content based on the envelope look, but it just seems to me those algorithms were created for stocks and commodities markets, not for the forex (there is a huge difference there). Could you point out some the "most popular" indicator of his so I could check it out deeply? Edited April 10, 2012 by udc C0UNDE 1 Quote Link to comment Share on other sites More sharing options...
tgt123 Posted April 10, 2012 Report Share Posted April 10, 2012 Ok, now I will make Ocn_NXC in the original form for reference and the improved Ocn_NXCx version with ZH marking. Then I will remake NDX and NST together into an improved Ocn_NDXNSTx with a single NMA of both of them (thus 3 lines in total) - as is Jim showing in this video: Awesome! UDS! Great!! Thank you very much! Then it will be time for BTX/STX. If anyone has any suggestion what to change, improve or add, just say so. EDIT: I've got another idea - wherever an indicator has the SD bands, add an optional middle SD line, as Pat is showing close to the end of this video: Awesome! UDS! Great!! Thank you very much! Quote Link to comment Share on other sites More sharing options...
udc Posted April 10, 2012 Author Report Share Posted April 10, 2012 I've implemented the middle SD line in all indis where possible, also some other minor improvements, and combined NDX and NST into a single indi with a common NMA, see the screenshot. The only problem is that I don't know how the NMA is calculated from those two NDX & NST, I have seen this variant only on youtube videos, no source code, so I had to play with it for some time. At the end I left it with some values that seemed somewhat ok and everyone can change it to whatever else. Anyway, there are indeed places where all 3 lines cross and then start spreading out, Jim is describing those as places with accumulated energy preceding a move. I marked them with white vertical line, just for example. I will play with it a bit more, then wrap it up and upload. http://img692.imageshack.us/img692/4401/ndxnst.png Original size screenshot: http://img861.imageshack.us/img861/4401/ndxnst.png tradershare, edmun1388, C0UNDE and 2 others 5 Quote Link to comment Share on other sites More sharing options...
bubbadirect Posted April 10, 2012 Report Share Posted April 10, 2012 What are these purple/magenta dots on your screen shot from here at http://indo-investasi.com/showthread.php/17702-(REQ)-Ocean-Theory-indis-from-TSD-elite/page3 ? I am interested very much in these. Thank you, bubbadirect Quote Link to comment Share on other sites More sharing options...
johnsmithx Posted April 11, 2012 Report Share Posted April 11, 2012 (edited) NDX, NST, NXC et al. oops, mistake :) Edited April 11, 2012 by johnsmithx Quote Link to comment Share on other sites More sharing options...
udc Posted April 11, 2012 Author Report Share Posted April 11, 2012 NDX, NST, NXC et al. Three bounded Ocean indicators, the first two you already got, the third one is an improved version (thus "x" suffix) of the original with the option to mark zero hits. Original NDX, NST, NXC on TradeStation: http://img705.imageshack.us/img705/7306/ndxnstnxctradestation.png Ocn_NDX, Ocn_NST, Ocn_NXCx on Metatrader: http://img825.imageshack.us/img825/2768/ndxnstnxcmetatrader.png Original size screenshots: http://img802.imageshack.us/img802/7306/ndxnstnxctradestation.png http://img402.imageshack.us/img402/2768/ndxnstnxcmetatrader.png However, you don't actually need these three indis at all, because I've combined them all into a single Ocn_NDXNSTNXCx indi, which can: show NDX, NST, NXC show NXC zero hits show a common NDX&NST's NMA turn on/off each of these 5 elements individually (so you can for example show NDX and NXC's zero hits without even showing NXC itself) As for the NMA, you have 4 options there to adjust it: the period of NMA you can choose whether it should be regular or fast NMA if fast then what would be the minimal lookback pre-smoothing the data before entering NMA The default settings is: period 20, regular NMA, pre-smoothing 1 (means no smoothing). As I mentioned I don't know what should be the default settings, I don't even exactly know how this NMA should be calculated from NDX&NST, however after countless studying the videos and testing and trying I found this settings as somewhat, more or less, give or take, remotely similar to what they have. No guarantee (most probably it's not right) :) Also, I have done another few changes: Ocn_NMA_Price_Osc improved into Ocn_NMA_Price_Oscx: added all SD band lines all indis with SD band lines got a third SD band line in the middle, optional of course when zero hit was detected the SD bands were zeroed; this is now optional and can be turned on/off all indis have versions now Now the full list of Ocean Classic library (worth $4,995.00) includes: Ocn_NMAx Ocn_NMA_Price_Oscx Ocn_NMA_SD_Band_Osc (orig, keeping this version for compatibility because the improved one got a shifted scale) Ocn_NMA_SD_Band_Oscx Ocn_NMA_SD_Band_Width (orig) Ocn_NMM_X-Ray_1 (orig) Ocn_NMM_X-Ray_2 (orig, didn't get any idea what to improve on these last three) Ocn_NMM_Ocean_Indexx Ocn_NMMx Ocn_NMM_MACDx Ocn_NMM_ROCx Ocn_NMRx Ocn_NMSx Ocn_NMCx Ocn_NMC2x Ocn_NDX Ocn_NST Ocn_NXCx Ocn_NDXNSTNXCx Note: I didn't implement all original options and features, namely those functions showing historical overbought/oversold levels etc. They never demonstrated nor commented it in any video so I just haven't found it worth an effort. It can be implemented if needed, though. http://uloz.to/xeTvGZd/ocn-classic-7z digian: maybe you could make again the "full bundle" package? Now it's finally time for BTX/STX. wakjoe, Kit, Sesshoumaru and 17 others 20 Quote Link to comment Share on other sites More sharing options...
Grain Trader Posted April 12, 2012 Report Share Posted April 12, 2012 hi UDC You have done some major and innovative improvements to the ocean software, unfortunately I am not able to take advantage of your work because I am running Tradestation software, I have never considered using Metatrader. What are the advantages of Metrader versus tradestation Quote Link to comment Share on other sites More sharing options...
Grain Trader Posted April 12, 2012 Report Share Posted April 12, 2012 Grain Trader: hi, well I will need some time to properly answer your question. As for Jurik, I am hearing that name for years but every time I get interested and visit his website the obsolete webdesign which looks like it was created back in 90s totally discourages me. There is even his photo that looks like it was taken not later than in 90s as well, if not earlier. And there is a quote that the cold war is over. Well, yeah, the cold war is over for almost 25 years now. I am not judging the content based on the envelope look, but it just seems to me those algorithms were created for stocks and commodities markets, not for the forex (there is a huge difference there). Could you point out some the "most popular" indicator of his so I could check it out deeply? hi UDC, Yes you are right the jurik were probably designed for stocks and commodities but I was under the impression that they were also applicable to forex as well. I dont trade forex , I trade commodities but I have noticed that most members here are forex traders. This is the manual for the Jurik tools, they maybe just as good or better than the ocean indicators http://www.scribd.com/doc/37296906/Jurik-1 taipan, for-ex and udc 3 Quote Link to comment Share on other sites More sharing options...
Sixer Posted April 12, 2012 Report Share Posted April 12, 2012 The Jurik Tools are working for all underlyings. Sixer Quote Link to comment Share on other sites More sharing options...
abdob Posted April 12, 2012 Report Share Posted April 12, 2012 Amazing work!! Is there any way we could put all the files into one post that can be updated as new indicators are programmed? Quote Link to comment Share on other sites More sharing options...
taipan Posted April 12, 2012 Report Share Posted April 12, 2012 Amazing work!! Is there any way we could put all the files into one post that can be updated as new indicators are programmed? The best way is to always update on the 1st post and this will be easy for the author to manage and as well as the members to download. Quote Link to comment Share on other sites More sharing options...
udc Posted April 12, 2012 Author Report Share Posted April 12, 2012 hi UDC, Yes you are right the jurik were probably designed for stocks and commodities but I was under the impression that they were also applicable to forex as well. I dont trade forex , I trade commodities but I have noticed that most members here are forex traders. This is the manual for the Jurik tools, they maybe just as good or better than the ocean indicators http://www.scribd.com/doc/37296906/Jurik-1 Thank you for the manual, I will check it out. The Jurik Tools are working for all underlyings. Sixer The word "applicable" (as that they indeed can be attached to any kind of chart) might be better fit. There are fundamental differences between forex and other financial markets and indicators which take into account some of those things that are different in both can't logically "work" in both. Typical example is a formula for calculating pivots. I didn't say Jurik indicators don't work as I am not familiar with them yet, I just mentioned that it was my impression those were created not for the forex thus I just expressed a doubt whether they are actually "compatible" with forex. There is quite little talk about Jurik indicators in relation to the forex in the whole forex community. The best way is to always update on the 1st post and this will be easy for the author to manage and as well as the members to download. Done. 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.