| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| 10.7/10.9 INDI SOLUTIONS https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3550 |
Page 18 of 72 |
| Author: | fire580 [ Fri Apr 11, 2014 1:22 pm ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
Thanks Spotdespot they will be very helpful. |
|
| Author: | effluvium [ Fri Apr 11, 2014 10:07 pm ] |
| Post subject: | Technical question about Stochastic Value |
Hi Tommaso, First of all. Thank you for your great work and elaborating this very helpful indicator that could announce many improvment to analyse and to be in synch with PA direction. I went in depth in your code but I could not understand the purpose of these lines when you were calculating the valur of Stochastics: You have written here: Code: Select all DO you agree ? So the numerator could be expressed by : Stoch_valueTF * (1+ brokerHour) . Correct ? And the whole formula will result in Stoch_valueTF by simplifying (1+ brokerHour) in numerator and denominator. You see ? if I have (X + a.X) / (1+a) the result will be just : X Another question: You have declared 2 variables m_bar=0; and n_bar = 0; But nowhere in your code These variables were used to keep other values, so why do you use them. ? You could simply put 0 as a shift value in the 1st stochastic formula int n_bar=0;//Need to deal with a Sunday candle |
|
| Author: | milanese [ Fri Apr 11, 2014 10:16 pm ] |
| Post subject: | Technical question about Stochastic Value |
Yes I agree with your exampel ,but if you take an exact look at the brakets, than you will see that this is used for the addition from the suday monday candles and put them in a relation to wight the monday second the monday hours passed, it is experimental code, a try to resolve the sunday candle problem.. only used if broker has sunday candle which is dedected automatic.., but this is a part of the indicator I am still working with.. so it is in an experimental stage.. Cheers Tommaso |
|
| Author: | SpiderX [ Sat Apr 12, 2014 7:29 am ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
hi Tommaso, Code: Select all The value of the last line overwrites the value of the previous 3 lines, so we might as well delete the first 3 lines.... Also first line will always compute to Bars-counted_bars+1 ....Since Period()/Period() is always 1. Cheers |
|
| Author: | milanese [ Sat Apr 12, 2014 8:52 am ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
It has propose for correct calculations of the higher TF stoch in lower TF the first one is the normal caclculation, but for showing how this works it is here coded in same way like the others.. Cheers Tommaso |
|
| Author: | effluvium [ Sat Apr 12, 2014 2:09 pm ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
I agree with SpiderX. If you put a series of assigments to the same variable, (without conditional events), that means that no matter the number of assignments, the variable "limit" will store the calculation of the last assignment. So you the whole first 3 assignments is just garbage, and will consume UC time for nothing, even if it some micro-seconds. (Also in the first assignment period()/Period() equals 1) |
|
| Author: | milanese [ Sat Apr 12, 2014 3:33 pm ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
There is no doubt that you are right about what is doing, It is in the code for making it easier to understand for others how to code a MTF indicator, and why you normally use counted_bars+1 ..... and it will not make much difference for the CPU use if you will comment it out, nearly zero.. Feel free to comment it out if you want Cheers Tommaso |
|
| Author: | milanese [ Sun Apr 13, 2014 10:31 am ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
I attached too in first post http://www.stevehopwoodforex.com/phpBB3 ... 742#p89742 the CSS 10.7 24 pairs with popup crossover alerts (too email alerts are possible) for anyone who is interested... Cheers Tommaso |
|
| Author: | SpiderX [ Sun Apr 13, 2014 4:04 pm ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
Hi all, Attached is a modified version of padnoter's original 10.6 dashboard for 10.7/10.9. The purpose of the dashboard is to save the time of flipping 20 over charts to look for a trade. It was a relatively rush job with certain elements not working yet: 1. Does not take into account for Sunday candles. (if there is a request for this, maybe we need Tommaso's help to add this) 2. autoSymbols do not work. Not sure why, but not enough time to figure this out, probably someone can help look into this. Thanks again to padnoter for the original dashboard. I retained the 1st column to the right which was 10.6 stuff for reference purposes. Users may adjust the below levels on the stoch to determine the high/low which affects when the text colours on the stochs will change. Code: Select all For example, in the picture, the green on the EURAUD D1stoch means a potential 10.9 buy on it. While the red on the M30,M15 stoch of EURCHF indicate potential 10.7 sells on this. For any coders who are diving into this code and spot mistakes, please do not hesitate to correct it. Once again, if your broker has Sunday candles, this might not work so well for you. Cheers Updates v1.01 info: http://www.stevehopwoodforex.com/phpBB3 ... 180#p90719 -Increased font size per Bob's request -Spilt into two columns -Additional inputs Code: Select all v1.02 -Fixed bug with diamonds appearing wrongly with wrong colour v1.03 -Adjusted the indicator code , so font resize works without affecting the overall alignment Code: Select all Also, adjust the wrap parameter according to the number of pairs you have running. -Added in code to automatically remove invalid pairs not offered by your broker v1.04 -fixed autoSymbols error - now autoSymbols work -added autowrap feature, so no need to set value for wrap unless you like to. Code: Select all http://www.stevehopwoodforex.com/phpBB3 ... 278#p91278 Code: Select all -Added Dashboard configuration, use this to remove stuff you dont need. Code: Select all Code: Select all Red - when WK2.1, D2.1 , DStoch direction are aligned down , with either one of the selected stoch timeframes aligned down Green - when WK2.1, D2.1 , DStoch direction are aligned up , with either one of the selected stoch timeframes aligned up Yellow - when WK2.1, D2.1 , DStoch direction are aligned up/down , with none of the selected stoch timeframes aligned properly v1.06 -Fixed bug that caused indicator to not load when Empty4 is started -Broker suffix would be removed from pair names displayed. -Implemented showOnyRelevant to hide the white pairs. Thanks to VirtualFM for this upgrade ! Code: Select all -Implemented pairColorMode , 0 is for original pair colour code, 1 for pair colour code requested by alronte Code: Select all Lime: W2.1 and D2.1 are aligned up, h1 stoch prev below stoch low, h1 stoch is above stoch low Lime(Bold): W2.1 and D2.1 are aligned up, h4 stoch prev below stoch low, h4 stoch is above stoch low Red: W2.1 and D2.1 are aligned dn, h1 stoch prev above stoch high, h1 stoch is below stoch high Red(Bold): W2.1 and D2.1 are aligned dn, h4 stoch prev above stoch high, h4 stoch is below stoch high Yellow : W2.1 and D2.1 are aligned up, h1 stoch below stoch low, W2.1 and D2.1 are aligned dn, h1 stoch above stoch high Yellow(Bold):W2.1 and D2.1 are aligned up, h4 stoch below stoch low, W2.1 and D2.1 are aligned dn, h4 stoch above stoch high Pair Colour Code 1: Red - when WK2.1, D2.1 , DStoch direction are aligned down , with either one of the selected stoch timeframes above stoch high Lime - when WK2.1, D2.1 , DStoch direction are aligned up , with either one of the selected stoch timeframes below stoch low BrickRed - when WK2.1, D2.1 , DStoch direction are aligned down, with none of the selected stoch timeframe at the right level Green - when WK2.1, D2.1 , DStoch direction are aligned up, with none of the selected stoch timeframe at the right level Red and Lime will be bold when the selected stoch is moving in the right direction (i.e: Time to buy or sell as defined by al) v1.07a (a because had not much time to test this, so expecting to release version b, if there is a bug ) -Added customizable colour codes for pair names/Stoch/CSS colours Code: Select all Use timeBetweeAlertSeconds to set delay between alerts on each pair. Code: Select all -Added showD1Trend option If set to false, indicator will show H4 trend instead of D1 trend. Option only works for pairColourMode 0. Trend is default to D1 for pairColourMode 1. Code: Select all fixed some bug with autosymbol when there are too many symbols from broker fixed bug with ignore v1.07c fixed alerts to display pair name fixed minor bug with wrap v1.07d fixed bug with time delay between alerts v1.07e fixed bug with diamond colour code of the D2.1, WK2.1 Sto |
|
| Author: | fire580 [ Sun Apr 13, 2014 9:39 pm ] |
| Post subject: | 10.7/10.9 INDI SOLUTIONS |
Thank you spiderX - I was praying for something like this. |
|
| All times are UTC | Page 18 of 72 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|