Quote from Lefty62151:
I am tempted to say that if one got a return greater than 0%, it would be due to random chance.
Before I retire for the night, all the frantic graphing made me overlook a misunderstanding between spike and Lefty.Quote from spike500:
..... But one thing is for sure: there are, and always will be, people that will deny every prove of anything that they don't like or don't understand.....
Quote from atavachron:
Unfortunately TS8 ELS will not import into TS2000i (which can only import ELD and ELA files). TS8 can import ELD, ELA and its native ELS.
Try this instead...
<font color="Blue">
{Indicator: RandomPrice}
{Author: atavachron - March 2005}
Inputs: startingPrice(1170), tickValue(0.25), directionalBias(0.1), randDirBias(true),
trendContFactor(0.65), rerun(0);
{*** NOTE *** rerun is a dummy Variable - change to any value in order to rerun simulation}
Vars: rndNumber(0), price(startingPrice), mydirectionalBias(directionalBias);
{LONG Directional Bias}
if mydirectionalBias <= 0.5 then
begin
rndNumber = Random(1);
if (randDirBias = true) then
mydirectionalBias = Random(1);
if (rndNumber < trendContFactor) then
begin
price = price + tickValue;
end
else
begin
price = price - tickValue;
end;
end
else
{SHORT Directional Bias}
begin
rndNumber = Random(1);
if (randDirBias = true) then
mydirectionalBias = Random(1);
if (rndNumber < trendContFactor) then
begin
{Cannot have -ve prices}
if price > 0 then
price = price - tickValue;
end
else
begin
price = price + tickValue;
end;
end;
Plot1(price, "Random Price");
</font>
if memory serves, TS2000i doesn't like long variable names - all I did is shorten a couple of them.
Hope this helps.
Cheers.

Quote from bdixon619:
It doesn't get better than this, right? So I'm awaiting your algorithm for exploiting such a market, ignoring slippage and commissions. -- Mr Subliminal
Given that your price curves are not composed of OHLC prices but just a single value, why not use Perry Kaufman's adaptive moving average?
http://www.traders.com/Documentation/FEEDbk_docs/Archive/0398/TradersTips/Tips9803.html
I have implemented this in Excel to track the equity indices each day. It works quite well.
Happy Easter
![]()
Bruce, I like your idea of using an adaptive technique. Even though it was not my original intent, I'm prepared to do the grunt work to test KAMA on my algorithm. However, before I jump in, could you please tell me exactly what it is I should do? I see references to byproducts of KAMA in your link and am not sure if they are required. If it's any help, I have Kaufman's Trading System and Methods (Third Edition) at home as well.Quote from bdixon619:
Given that your price curves are not composed of OHLC prices but just a single value, why not use Perry Kaufman's adaptive moving average?
Quote from Mr Subliminal:
Bruce, I like your idea of using an adaptive technique. Even though it was not my original intent, I'm prepared to do the grunt work to test KAMA on my algorithm. However, before I jump in, could you please tell me exactly what it is I should do? I see references to byproducts of KAMA in your link and am not sure if they are required. If it's any help, I have Kaufman's Trading System and Methods (Third Edition) at home as well.
Sooooo, please give me a list of comprehensive and idiot-proof instructions and I shall try implementing them.
