Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Trendbolt? (MT4 indicator available in EasyLanguage?)
Screenshot 1
Up = 1+2+4+5+6+2+4+5+6+2+5+6 = 48
Down = 3+7+1+3+7+1+3+4+7 = 36
48+36 = 84
Larger bias is up so 48/84 = 57% up bias (vs 54% shown)
Screenshot 2
Up = 34
Down = 50
Larger bias is down so 50/84 = 59.5% or rounded to 60% down bias (vs 62% shown)
Not exactly right but pretty close. That is why I was wondering if we could increase the sample size we might be able to hone in on where the discrepancies lie. Getting the code would be preferred but I do not have MT4 and don't want to go down that path either.
Can you help answer these questions from other members on NexusFi?
Looks interesting for sure. As far as the time frames, I have no idea as I haven't really used an indicator like this before. For futures I use 4 hr, 1 hr and five minutes for different indicators but I don't use any of these indicators in the suite. Maybe the OP can chime in.
Is it set up on data2,3,... If that's the case would it work for any timeframe the user wants as long as data2 < data3 etc.? Or are you applying code based on bar counts of data1?
Thanks for taking a stab at this. Not something I came in looking to use but will be interested in seeing how it works.
You are completely correct, it is using data1 through data7. Any of them can be disabled, but I really hacked it together, and I haven't done any user testing. I didn't use any good coding standards or anything like that.
I am currently at an impasse, however. If you could provide input, that would be great.
1. This currently shows the historical values, as it is hijacking the plot statement, and using only the color for the data transfer. A side effect of this use pattern is that we have the history of the values, as shown across the chart. Or would you rather have a number that changes, and doesn't have any history to display?
2. I don't know how the Stochastic is calculated. Do you have access to MultiCharts? I am looking at "Stochastic SlowK", "Stochastic Fast", and "Stochastic Slow". Which is the one that should be done? All three, randomly picking one, and leaving the rest to an input? Even if I choose one of them to use, I'm not sure which of the returned variables from the different Stochastic functions is "stochastic". Once I get these decisions decided, I'll compare var99[0] with var99[1] and then if it's on the way up, it will be green.
Oh, I forgot. One more thing that's caused me problems, so I picked a random value and went with it. Are we going to be biased "towards green", or "towards red", or "towards neither" ?
Here's the code that I'm talking about:
A:
if (macdVar1[0] >= macdVar1[1]) then
else if (macdVar1[0] < macdVar1[1]) then
or
B:
if (macdVar1[0] macdVar1[1]) then
else if (macdVar1[0] <= macdVar1[1]) then
or
C:
if (macdVar1[0] macdVar1[1]) then
else if (macdVar1[0] < macdVar1[1]) then
else if (macdVar1[0] = macdVar1[1]) then