TWE ( | Trading Reviews and Vendors - futures trading strategies, market news, trading charts and platforms

Trading Reviews and Vendors

Discuss and review vendors of commercial trading products, trading rooms and services, trading indicators or third-party paid add-ons



  #12 (permalink)

New York City, USA
Trading Experience: Advanced
Platform: NinjaTrader
Favorite Futures: ES, CL, 6E
futurestrader1's Avatar
Posts: 149 since Jul 2010
Thanks: 81 given, 42 received

da Bands!

I have a very similar code i had made for me on TOS...Richard, the master programmer made it for me a few years ago in like 10's just a triple keltner channel

I'd like to have it on MT4 and NinjaTrader

declare weak_volume_dependency;
input displace = 0;
input displace2 = 0;
input displace3 = 0;
input factor = 1.75;
input factor2 = 2.5;
input factor3 = 4;
input length = 45;
input price = close;
def shift = factor * AvgTrueRange(high, close, low, length);
def shift2 = factor2 * AvgTrueRange(high, close, low, length);
def shift3 = factor3 * AvgTrueRange(high, close, low, length);
def average = ExpAverage(price, length);
plot Avg = average[-displace];
plot Upper_Band = average[-displace] + shift[-displace];
plot Lower_Band = average[-displace] - shift[-displace];
plot Upper_Band2 = average[-displace] + shift2[-displace];
plot Lower_Band2 = average[-displace] - shift2[-displace];
plot Upper_Band3 = average[-displace] + shift3[-displace];
plot Lower_Band3 = average[-displace] - shift3[-displace];

Reply With Quote