
03-08-2007, 11:09 AM
|
|
|
|
Re: Larry William's Indicator Required
|
Quote: |
|
 |
|
|
Knytt : do you know how would that be for Tradestation ? cheers Walter. |
|
|
|
|
@Walter
This is the code in Tradestation, but dont ask me what data1 and data2 is.
 |
|
 |
 |
|
 |
|
Inputs: Price(Close of Data1/Close of Data2),Len1(22), Len2(2),
Len3(365), Buyzone(20), Sellzone(75);
Value1 = XAverage(Price*100,Len1);
Value2 = XAverage(Price*100,Len2);
Value3 = Value1 - Value2;
Value4 = (Value1-Value2) - Lowest(Value3,Len3);
Value5 = Value4 / Highest(Value3,Len3) - Lowest(Value3,Len3);
Plot1(Value5, "Wil-Val");
Plot2 (BuyZone,"BuyZon");
Plot3(SellZone,"SellZon"); |
|
 |
|
 |
|
|