07-24-2009, 01:55 PM
|
#177 |
Join Date: Nov 2006 Location: Argentina Thanks: 0
Thanked 201 Times in 128 Posts
| Re: The Chimp`s new "Futures Scalps" Quote:
Originally Posted by RichardTodd » I was reading through this thread, and decided to play with it on ninja replay... well, like many indicators, the bands and adxvma start from 0 and work their way up to price. On a replay that starts at midnight with no history before that, this means that it takes a while for the indicators to get anywhere near my bars and my price scale is all screwed up.
This is usually not necessary, though, and a couple changes eliminate the issue for me:
In fantailvma1 the 'else' case when amaData.Count <= 1 can be changed to: amaData.Set(Input[0]);
... so that the vma starts on price for the first couple bars. You can see that, after enough bars pass, the old and new versions converge.
In the adxvma, same thing, in the CurrentBar < 2 case, instead of setting ADXVMAPlot to 0, set it to Input[0].
This made it testable on replay for me, anyway, so I thought I'd share. | Thanks Richard for this inputs, cheers Walter.
__________________ you must enjoy trading... otherwise you shouldnt trade... |
| |