TWE (www.tradingwithanedge.com) | Trading Reviews and Vendors


futures.io - 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




 

TWE (www.tradingwithanedge.com)

  #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 minutes...it's just a triple keltner channel

I'd like to have it on MT4 and NinjaTrader

 
Code
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];
Avg.SetDefaultColor(GetColor(7));
plot Upper_Band = average[-displace] + shift[-displace];
Upper_Band.SetDefaultColor(GetColor(7));
plot Lower_Band = average[-displace] - shift[-displace];
Lower_Band.SetDefaultColor(GetColor(7));
plot Upper_Band2 = average[-displace] + shift2[-displace];
Upper_Band2.SetDefaultColor(GetColor(7));
plot Lower_Band2 = average[-displace] - shift2[-displace];
Lower_Band2.SetDefaultColor(GetColor(7));
plot Upper_Band3 = average[-displace] + shift3[-displace];
Upper_Band3.SetDefaultColor(GetColor(7));
plot Lower_Band3 = average[-displace] - shift3[-displace];
Lower_Band3.SetDefaultColor(GetColor(7));

Reply With Quote