| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=875 |
Page 33 of 43 |
| Author: | disbellj [ Tue Oct 30, 2012 2:08 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
If the indicator is not working for you, please either try making sure you have history for all pairs, remove and reload the indicator, and/or have patience, get a cup of coffee and let it load? It's causing me no problems, and in fact I run more info on my version than what I make available to ya'll. Running on 2009 MBP. Now if you are using ATeam option for Semafors, then you can expect it to lock up. Don't use that option. It will not be in next update since all it does it slow down Empty4 to useless/lock up Empty4 just like when trying to call iCustom for ALL pairs and timeframes. FYI, the code gets the pairs from the broker, copies the array, orders them alphabetically. Don't know how to fix what's not broken. Like I said before, every time Empty4 starts, I have to reload the indicator. Initial values are not correct. Most likely due to fact that not all information is available when Empty4 starts at first tick when indicator is run. After Empty4 starts and gets going, all information is available, then reloading the indicator gives correct values (at least for me as far as I see). Kindest regards, Don |
|
| Author: | disbellj [ Tue Oct 30, 2012 2:38 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
CC, Inside the indicator, in user inputs, it has these inputs: int GrossPeriod=60; int GrossPeriod2=240; int GrossPeriod3=1440; The GrossPeriods are obviously Timeframes. Then in init function we see further code: if(Period()==60){GrossPeriod=60; GrossPeriod2=240;GrossPeriod3=1440;} if(Period()==240){GrossPeriod=240; GrossPeriod2=1440;GrossPeriod3=10080;} if(Period()==1440){GrossPeriod=1440; GrossPeriod2=10080;GrossPeriod3=43200;} if(Period()==10080){GrossPeriod=10080; GrossPeriod2=10080;GrossPeriod3=43200;} H1 is the ONLY timeframe I'm looking at. I was going to - at first - try to make this system for scalpers also, but I since decided against this idea, and to stick with what you use, which was said to be H1). So if you are on H1, then per above code in init, GrossPeriod = 60 (these Semafors are turned to none/black in your template), GrossPeriod2 = 240 (these Semafors are turned to white in your template), and GrossPeriod3 = 1440 (these Semafors are turned to magenta in your template). So if using H1, the H1 Semafors are not seen, the H4 are white, and the D1 are pink. This is per code in ATeam. if you are on H4, then per above code in init, GrossPeriod = 240 (these Semafors are turned to none/black in your template), GrossPeriod2 = 1440 (these Semafors are turned to white in your template), and GrossPeriod3 = 10080 (these Semafors are turned to magenta in your template). So if using H4, the H4 Semafors are not seen, the D1 are white, and the W1 are pink. This again is per code in ATeam. This is how the indicator is set up, and calls an indicator named "ZigZag2", which we don't have in indicators folder, although we do have "Zigzag2". So the fact that we get any values at all is a complete conundrum to me. Now, if you'd like, since I'm now using CountZZ function, having discarded hope of using iCustom in any capacity for Semafor information since there are multiple pairs and timeframes, I can put in any timeframe you want. Just let me know. I can put them all in if you want. Also, there is a big difference here in what is needed visually and what is needed in code. For me to see Semafors MTf on same chart, visually what's needed I guess as long as not many charts ATeam indicator. It calling iCustom to the wrong iCustom or any iCustom is not the best way to go IMHO like it's coded. But if I'm getting info for indicator like mine, or EA, I don't need "MTF" code for Semafors. If I want MN1 Semafor, I call e.g. iCustom(Symbol(), PERIOD_MN1,"custom indi name",inputs,...,buffer,shift = 0); I would NOT call it from this timeframe like e.g. iCustom(Symbol(), PERIOD_H1,"custom indi name",input for higher timeframe, other nputs,...,buffer,shift = 0); I'm not saying there are not instances where I ca;; MTF indicators. Unlike most coders, I do see a need sometimes for MTF indicators and calling them. So I don't just default to the first type of iCustom line seen above, but in this case, it's best (not to call MTF indicator and just call regular indicator on higher timeframe or, as this is slowing Empty4 to a crawl/locking up, implement indicator code directly into the EA code (which is what my indicator code will become, so I code the indicator as if I am coding an EA, since that's the destination, so don't use Bars variable for instance). I hope I've made myself clearer than mud Kindest regards, Don |
|
| Author: | fire580 [ Tue Oct 30, 2012 4:07 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
Thanks Don so much for all your hard work - with that said I personally prefer the first indicator ALLPAIRS_CTS_Don_102612b that has everything we need - if you delete the Semafors would this indicator run smoothly? for some reason my powerful computer runs anything but when I start to mess with Semafors I always have trouble so I could certainly understand what they are doing with you indicator trying to monitor Semafors on 26 pairs on multiple time frames - The indicator without them would be more then adequate to alert us to possibilities and go to individual charts where those who want to see the Semafor status can have them set up on a chart.....is this possible? |
|
| Author: | disbellj [ Tue Oct 30, 2012 4:37 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
fire580, In that version of the indicator, just make ShowATeam to be false. This variable will be getting its named changed back to ShowSemafors, since more people are already associated with hearing "Semafor" vs "ATeam" (I pity the fool LOL) kindest regards, Don
|
|
| Author: | disbellj [ Tue Oct 30, 2012 4:38 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
CC, I think using several names for the same thing in multiple parts/places in this strategy have confused me and i wouldn't doubt others. For instance, HPTP/Tma Bands/Fast Lines. All the same thing as far as I can tell, yet 3 names. Unless HPTP also includes Pivots, I'm hard pressed to differentiate between HPTP/Tma Bands/Fast Lines. If Wiggle Room is simply distance between FastLine indicator lower band and bottom Semafor (which may be above or below FastLine lower band) in a buy, and this is placed below FastLine lower band, if Semafor is below FastLine, then SL would be figured, best as I can tell, top to bottom: Buy StopLoss Example: Distance from price (Ask) now and lower FastLine is 15 pips. The Semafor is below the FastLine 20 pips. So formula would be: StopLoss = (((Ask-LowerFastLine) + (Lower FastLine - Semafor))/Pip) (divided by Pip to make whole number, or 1 place decimal/double) + Volatility Pips (as whole number, or 1 place decimal/double) This would be my understanding. If you could make the above StopLoss formula fit 4 scenarios for me so I can definitely understand wiggle room: bottom Semafor below bottom band in buy, bottom Semafor above bottom band in buy, top Semafor above top band in sell, and top Semafor below top band in sell... ... and with a better understanding of calculations of Volatility, I can incorporate SL, and TP, and R:R. I can't find a table on or anything yet on Volatility calculation, so that I can even incorporate it into Indicator. So my misunderstanding and/or lack of information (I haven't been able to find it, although its alluded to in your notes) on Volatility, is what has got this process at a stop for now. Kindest regards, Don |
|
| Author: | fire580 [ Tue Oct 30, 2012 4:52 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
Thanks Don - but I don't see a ShowATeam" to change to false? |
|
| Author: | disbellj [ Tue Oct 30, 2012 7:27 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
fire580, OK. Then you'll have to open it in MetaEditor Just select the indicator in Empty4 and hit return. This should open indicator in MetaEditor. At top you will see some variables with /*extern*/ at beginning and those with extern at the beginning. If you find a variable named ShowATeam, or ShowSemafors, make it false and hit F5 to save and compile, or if you want to see it as input in Empty4, make sure you remove /* and */ from extern, and hot F5 to save and compile. Note: If you do decide to use Semafors, and using anything other than SemaforMethod = 2, change it to 2. This will be what's used in update whenever it comes, since the other options aren't as good or fast. Kindest regards, Don |
|
| Author: | fire580 [ Tue Oct 30, 2012 10:28 pm ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
Thanks Don I'll give that a try |
|
| Author: | disbellj [ Wed Oct 31, 2012 1:48 am ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
Hello everyone, Here's an update. I added a couple temporary columns I like watching (H4/H1 agreement and News, which I'm working on to make sure it's correct, even if not using in this strategy). My extra columns won't be able to fit on screen when I add SL (to me Wiggle Room probably means normal stoploss of last Semafor (swing low/high)), Volatility Pips (need info on calculations), TP, and R:R. Also updated my version of Sonic FFCal Headlines. If you look into user inputs, you'll see a new option at top that says DrawFFObjects. This is not needed when I am getting information for my AllPairs indicator so I make the objects that show on chart in original Sonic FFCal Headlines indicator to not print on chart. I use two buffers I put into the Sonic indicator - buffer 1 to get minutes since Previous Event news and buffer 2 to get minutes until Next Event news. Kindest regards, Don |
|
| Author: | atharmian [ Wed Oct 31, 2012 2:04 am ] |
| Post subject: | Re: ADAPTING NB10.2A FOR LOWER TF & RM TRADING - 10.2A CTS |
Don, Great work with speed here ... Can you explain all the columns and the trading conclusions one can draw? Perhaps keep all such notes and updates in one post with some sticky kind of reminder, so we can all just refer to the running summary in a single post as many other authors do ? I have downloaded this Indy again...last one did nothing (no display.) Can you also include some implementation and background notes in above summary? Cheers, Athar. |
|
| All times are UTC | Page 33 of 43 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|