Without looking at your code, many times you can do a quick and dirty trick by just using RSI, like so:
Typing that free hand from my notebook, no Ninja editor. But the point is, just pass your dataseries that you want to normalize into RSI directly. If 1,1 doesn't give you the desired results, increase the lookback smoothing period.
Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.
Need help? 1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first. 2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses. 3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make. 4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance. 5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers. 6) Help using the forum? Watch this video to learn general tips on using the site.
If you want to support our community, become an Elite Member.
The following user says Thank You to Big Mike for this post:
thanks - but i dont know the first thing about programing so would not know how to do it - any help would be appriciated - i know it was done in meta and is being used by some prop traders i know so its very helpful
You are looking for a bound oscillator, which never goes lower than 0 or greater than 100. These are usually bound because they the result of a ratio, which implies a value is divided by some other value, and the divisor is always >= the dividend. So, I'm not sure what sort of ratio you are looking for. What is being divided by what?
(Mov((C+L+H+O)/4>Ref(LLV(C,2) ,-1),2,S)) AND
which i would like to be translated into Ninja Trader is composed from two parts. I have attached screen shots from each one separetely.