RSI_CCI MULTI TIME FRAME (make money) - ThinkOrSwim | futures io social day trading
futures io futures trading


RSI_CCI MULTI TIME FRAME (make money)
Updated: Views / Replies:3,497 / 35
Created: by alagrande Attachments:1

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 1  
Thread Tools Search this Thread
 

RSI_CCI MULTI TIME FRAME (make money)

  #11 (permalink)
Elite Member
Nashville
 
Trading Experience: Beginner
Platform: TOS
Favorite Futures: Emini
 
Posts: 8 since Apr 2018
Thanks: 3 given, 1 received

Thank you


alagrande View Post
HAHA LOL, just practice with paper money or ONDEMAND, and you have to learn it on your own, i tell you this is a super great indicator!

Sadly i do not have any extra time to make a guide for it.
Play with it and you will get it.

I'm using it on demand, keep me post incase you update it! Cheers

Reply With Quote
 
  #12 (permalink)
Trading Apprentice
glendale ca usa
 
Trading Experience: Beginner
Platform: tos
Favorite Futures: gold
 
Posts: 45 since Sep 2017
Thanks: 2 given, 33 received


alexguate View Post
I'm using it on demand, keep me post incase you update it! Cheers

the cyan line is the CCI, the yellow line is RSI (10 min time frame) and the it crosses above the white 100 level it is when high probability set up is ON.

Reply With Quote
The following 2 users say Thank You to alagrande for this post:
 
  #13 (permalink)
Trading Apprentice
Singapore
 
Trading Experience: Intermediate
Platform: Thinkorswim
Favorite Futures: Equity
 
Posts: 4 since Oct 2017
Thanks: 0 given, 0 received


Thank you for the latest version..
It work great for me. That is why I ask if you have a blog on the write up or usage.
Hope to see more of your work.

Reply With Quote
 
  #14 (permalink)
Trading Apprentice
glendale ca usa
 
Trading Experience: Beginner
Platform: tos
Favorite Futures: gold
 
Posts: 45 since Sep 2017
Thanks: 2 given, 33 received


simonxda View Post
Thank you for the latest version..
It work great for me. That is why I ask if you have a blog on the write up or usage.
Hope to see more of your work.

THANK YOU MUCH!
Here is the latest version.
I have added Force Index to the mix, i hope it helps you making tons of $$$$




#CODE...


######RSI_CCI_FI_MTF_V2.3########
#DESIGNED BY m0biledev (m0biledev@yahoo.com) 3-3-18
declare lower;

input length = 4;#4
input over_Bought = 50;#70
input over_Sold = 20;
input price = close;
input averageType = AverageType.WILDERS;
#input aggregationPeriod1H = AggregationPeriod.HOUR;

#################
#SQUEEZ## ## ###
plot Outsqueeze = if (reference BollingerBands()."upperband" - KeltnerChannels()."upper_band”) <= 0 then 30 else Double.NaN;

Outsqueeze.HideBubble();
Outsqueeze.SetPaintingStrategy (PaintingStrategy.LINE);
Outsqueeze.SetDefaultColor(Color.YELLOW);
Outsqueeze.SetLineWeight (4);
Outsqueeze.AssignValueColor(if Outsqueeze < 0 then Color.BLUE else Color.MAGENTA);
########
###AddLabel (yes, " ", Color.GRAY);
#AddLabel (yes, ((" ")), if PRICE> PRICE[3] AND UPPerBand> UPPerBand[3] AND LOWERBand > LOWERBand[3] then Color.GREEN else IF PRICE< PRICE[3] AND UPPerBand< UPPerBand[3] AND LOWERBand < LOWERBand[3] then Color.DARK_ORANGE ELSE COLOR.light_GRAY );

###AddLabel (yes, " ", Color.GRAY);
#####AddLabel (yes, ((" ")), if PRICE> PRICE[3] AND UPPerBand> UPPerBand[3] AND LOWERBand < LOWERBand[3] then Color.GREEN else IF PRICE< PRICE[3] AND UPPerBand> UPPerBand[3] AND LOWERBand < LOWERBand[3] then Color.DARK_ORANGE ELSE COLOR.light_GRAY );



#######

def NetChgAvg = MovingAverage(averageType, price - price[1], length);
def TotChgAvg = MovingAverage(averageType, AbsValue(price - price[1]), length);

def ChgRatio = if TotChgAvg != 0 then NetChgAvg / TotChgAvg else 0;
plot RSI = 70 * (ChgRatio + 1);
RSI.HideBubble();


#plot OverSold = over_Sold;
#plot OverBought = over_Bought;
#RSI.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);




RSI.DefineColor("OverBought", Color.GREEN);
RSI.DefineColor("Normal", Color.PINK);
RSI.DefineColor("OverSold", Color.RED);
#RSI.AssignValueColor(if RSI > over_Bought then RSI.Color("OverBought") else if RSI < over_Sold then RSI.Color("OverSold") else RSI.Color("Normal"));
RSI.AssignValueColor(if RSI > over_Bought then RSI.Color("OverBought") else if RSI < over_Sold then RSI.Color("OverSold") else RSI.Color("Normal"));
#OverSold.SetDefaultColor(GetColor(8));
#OverBought.SetDefaultColor(GetColor(8));
RSI.SetLineWeight (1);

#plot DL = 100;
#DL.HideBubble();
#DL.SetDefaultColor(Color.WHITE);
#DL.SetLineWeight(1);

###############5MIN##############################################
#input averageType = AverageType.WILDERS;
def NetChgAvg5 = MovingAverage(averageType, close(period = AggregationPeriod.FIVE_MIN) - close(period = AggregationPeriod.FIVE_MIN)[1], length);
def TotChgAvg5 = MovingAverage(averageType, AbsValue(close(period = AggregationPeriod.FIVE_MIN) - close(period = AggregationPeriod.FIVE_MIN)[1]), length);

def ChgRatio5 = if TotChgAvg5 != 0 then NetChgAvg5 / TotChgAvg5 else 0;
plot RSI5 = 60 * (ChgRatio + 1);
RSI5.HideBubble();




###############################################
###########################10MIN###############
input length15 = 4;
input over_Bought15 = 70;
input over_Sold15 = 30;
input averageType15 = AverageType.WILDERS;

def NetChgAvg15 = MovingAverage(averageType15, close(period = AggregationPeriod.TEN_MIN) - close(period = AggregationPeriod.TEN_MIN)[1], length15);
def TotChgAvg15 = MovingAverage(averageType15, AbsValue(close(period = AggregationPeriod.TEN_MIN) - close(period = AggregationPeriod.TEN_MIN)[1]), length15);

def ChgRatio15 = if TotChgAvg15 != 0 then NetChgAvg15 / TotChgAvg15 else 0;
plot RSI15 = 70 * (ChgRatio15 + 1);
RSI15.HideBubble();

#plot RSI_10 = if close >= 0 then -240 else Double.NaN;
#RSI_10.HideBubble();
#RSI_10.SetPaintingStrategy (PaintingStrategy.squares);

#RSI_10.SetLineWeight (1);
#RSI_10.AssignValueColor(if RSI15 > over_Bought then RSI15.Color("OverBought") else if RSI15 < over_Sold then RSI15.Color("OverSold") else RSI15.Color("Normal"));


RSI15.DefineColor("OverBought", Color.YELLOW);
DefineGlobalColor("FillColor", Color.GRAY);#CreateColor(192, 192, 208));


RSI15.DefineColor("Normal", GlobalColor("FillColor" ));#GetColor(7));
RSI15.DefineColor("OverSold", Color.DARK_ORANGE);
RSI15.AssignValueColor(if RSI15 > over_Bought15 then RSI15.Color("OverBought") else if RSI15 < over_Sold15 then RSI15.Color("OverSold") else RSI15.Color("Normal"));
#OverSold15.SetDefaultColor(GetColor(8));
#OverBought15.SetDefaultColor(GetColor(8));
RSI15.SetLineWeight (3);

###############################################


##################################################################
##################################################################
#######################CCI#######################################
input lengthCCI = 20;#14
input over_soldCCI = -100;
input over_boughtCCI = 100;


def priceCCI = close + low + high;
def linDev = LinDev(priceCCI, lengthCCI);
plot CCI = if linDev == 0 then 0 else (priceCCI - Average(priceCCI, lengthCCI)) / linDev / 0.015;#/ 0.015;
plot OverBoughtCCI = over_boughtCCI;
CCI.HideBubble();
plot ZeroLine = -0;
plot OverSoldCCI = over_soldCCI;
plot UpSignal = if Crosses(CCI, ZeroLine, CrossingDirection.ABOVE) then ZeroLine else Double.NaN;
plot DownSignal = if Crosses(CCI, over_boughtCCI, CrossingDirection.BELOW) then ZeroLine else Double.NaN;


########## CCI LINES #############################
plot CCI_0 = if close >= 0 then -40 else Double.NaN;
CCI_0.HideBubble();
CCI_0.SetPaintingStrategy (PaintingStrategy.LINE);
###upsugnal.SetDefaultColor(Color.green);
CCI_0.SetLineWeight (3);
CCI_0.AssignValueColor(if CCI > ZeroLine then CCI.Color("OverBought") else if CCI < 0 then CCI.Color("OverSold") else CCI.Color("Normal"));

plot CCI_1 = if close >= 0 then -60 else Double.NaN;
CCI_1.HideBubble();
CCI_1.SetPaintingStrategy (PaintingStrategy.LINE);
###upsugnal.SetDefaultColor(Color.green);
CCI_1.SetLineWeight (3);
CCI_1.AssignValueColor(if CCI > CCI[3] then Color.CYAN else if CCI < CCI[3] then Color.PINK else CCI.Color("Normal"));

##CCI.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);

CCI.SetDefaultColor(GetColor(9));
CCI.DefineColor("OverBought", GetColor(1));
CCI.DefineColor("Normal", GetColor(7));
CCI.DefineColor("OverSold", Color.RED);
#CCI.AssignValueColor(if CCI > over_soldCCI then CCI.Color("OverBought") else if CCI < over_boughtCCI then CCI.Color("OverSold") else CCI.Color("Normal"));
CCI.AssignValueColor(if CCI > ZeroLine then CCI.Color("OverBought") else if CCI < ZeroLine then CCI.Color("OverSold") else CCI.Color("Normal"));

OverSoldCCI.SetDefaultColor(GetColor(8));
OverBoughtCCI.SetDefaultColor(GetColor(8));
CCI.SetLineWeight (2);

OverBoughtCCI.SetDefaultColor(GetColor(9));
ZeroLine.SetDefaultColor(GetColor(9));
OverSoldCCI.SetDefaultColor(GetColor(9));


################################################################
###############################################################
###################################
##################################


#TEST_MULTI_TIME_V2
#input price = close;
input superfast_length = 5;
input superfast_20 = 5;#20
input fast_length = 13;#50
input slow_length = 11;#200


#Label 1
######################
#####################
input lengthF = 13;
def FI = ExpAverage(data = (close - close[1]) * volume, lengthF);
def AccDistVolPr = AccumDist(high, close, low, open, volume);
def mov_avg4 = ExpAverage( close, superfast_length);
#AccDistVolPr.SetDefaultColor(GetColor(1));
##@@@@@@@@@@@@@@@@@@@@@@@


#SET FOR 5 MIN
input lengthF3 = 13;
input superfast_length3 = 5;
input superfast_203 = 5;#20
input fast_length3 = 13;#50
input slow_length3 = 11;#200
#input displace = 0;


def FI3 = ExpAverage(data = (close(period = AggregationPeriod.THREE_MIN) - close(period = AggregationPeriod.THREE_MIN)[5]) * volume, lengthF3);

def AccDistVolPr3 = AccumDist(high(period = AggregationPeriod.THREE_MIN), close(period = AggregationPeriod.THREE_MIN), close(period = AggregationPeriod.FIVE_MIN), open(period = AggregationPeriod.THREE_MIN), volume);

def mov_avg4_3 = ExpAverage( close(period = AggregationPeriod.THREE_MIN), superfast_length3);


####STUDY FOR MYWATCHLIST
#SET FOR 5 MIN
input lengthF5 = 13;
input superfast_length5 = 5;
input superfast_205 = 5;#20
input fast_length5 = 13;#50
input slow_length5 = 11;#200
#input displace = 0;


def FI5 = ExpAverage(data = (close(period = AggregationPeriod.FIVE_MIN) - close(period = AggregationPeriod.FIVE_MIN)[5]) * volume, lengthF5);

def AccDistVolPr5 = AccumDist(high(period = AggregationPeriod.FIVE_MIN), close(period = AggregationPeriod.FIVE_MIN), close(period = AggregationPeriod.FIVE_MIN), open(period = AggregationPeriod.FIVE_MIN), volume);

def mov_avg4_5 = ExpAverage( close(period = AggregationPeriod.FIVE_MIN), superfast_length5);
#AccDistVolPr.SetDefaultColor(GetColor(1));


####STUDY FOR MYWATCHLIST
#SET FOR 10 M
input superfast_length10 = 5;
input superfast_2010 = 5;#20
input fast_length10 = 13;#50
input slow_length10 = 11;#200
input lengthF10 = 13;
#@@@@@@@@@@@@@@@@
#input price = close;

def FI10 = ExpAverage(data = (close(period = AggregationPeriod.TEN_MIN) - close(period = AggregationPeriod.TEN_MIN)[5]) * volume, lengthF10);
def AccDistVolPr10 = AccumDist(high(period = AggregationPeriod.TEN_MIN), close(period = AggregationPeriod.TEN_MIN), close(period = AggregationPeriod.TEN_MIN), open(period = AggregationPeriod.TEN_MIN), volume);

def mov_avg4_10 = ExpAverage( close(period = AggregationPeriod.TEN_MIN), superfast_length10);
#AccDistVolPr.SetDefaultColor(GetColor(1));####STUDY FOR MYWATCHLIST
#SET FOR 10 M

####################################################
#SET FOR 30 M
input superfast_length30 = 5;
input superfast_2030 = 5;#20
input fast_length30 = 13;#50
input slow_length30 = 11;#200
input lengthF30 = 13;
#

def FI30 = ExpAverage(data = (close(period = AggregationPeriod.FIFTEEN_MIN) - close(period = AggregationPeriod.FIFTEEN_MIN)[5]) * volume, lengthF30);

def AccDistVolPr30 = AccumDist(high(period = AggregationPeriod.FIFTEEN_MIN), close(period = AggregationPeriod.FIFTEEN_MIN), close(period = AggregationPeriod.FIFTEEN_MIN), open(period = AggregationPeriod.FIFTEEN_MIN), volume);

def mov_avg4_30 = ExpAverage( close(period = AggregationPeriod.FIFTEEN_MIN), superfast_length30);



####################################################
#SET FOR 30 M
input superfast_length20 = 5;
input superfast_2020 = 5;#20
input fast_length20 = 13;#50
input slow_length20 = 11;#200
input lengthF20 = 13;
#

def FI20 = ExpAverage(data = (close(period = AggregationPeriod.TWENTY_MIN) - close(period = AggregationPeriod.TWENTY_MIN)[5]) * volume, lengthF20);

def AccDistVolPr20 = AccumDist(high(period = AggregationPeriod.TWENTY_MIN), close(period = AggregationPeriod.TWENTY_MIN), close(period = AggregationPeriod.TWENTY_MIN), open(period = AggregationPeriod.TWENTY_MIN), volume);

def mov_avg4_20 = ExpAverage( close(period = AggregationPeriod.TWENTY_MIN), superfast_length20);



#SET FOR 1 hours######################################
input superfast_length1h = 5;
input superfast_201h = 5;#20
input fast_length1h = 13;#50
input slow_length1h = 11;#200
input lengthF1h = 13;
input aggregationPeriod1H = AggregationPeriod.HOUR;
#
#ExpAverage(close(period = AGGREGATIONPERIOD1H)
def FI1h = ExpAverage(data = (close(period = aggregationperiod.HOUR) - close(period = aggregationperiod.HOUR)) * volume, lengthF1h);

def AccDistVolPr1h = AccumDist(high(period = aggregationperiod.HOUR), close(period = aggregationperiod.HOUR), close(period = aggregationperiod.HOUR), open(period = aggregationperiod.HOUR), volume);

#def mov_avg4_1h = ExpAverage(close(period = AggregationPeriod.HOUR), superfast_length1h);
def mov_avg4_1h = ExpAverage(close(period = aggregationperiod.HOUR), superfast_length1h);

#@@@@@@@@@@@@@@@@@@@@@@@@@@@@

#SET FOR DAY######################################
input superfast_length1D = 5;
input superfast_201D = 5;#20
input fast_length1D = 13;#50
input slow_length1D = 11;#200
input lengthF1D = 13;
#

def FI1D = ExpAverage(data = (close(period = AggregationPeriod.DAY) - close(period = AggregationPeriod.DAY)) * volume, lengthF1D);

def AccDistVolPr1D = AccumDist(high(period = AggregationPeriod.DAY), close(period = AggregationPeriod.DAY), close(period = AggregationPeriod.DAY), open(period = AggregationPeriod.DAY), volume);

def mov_avg4_1D = ExpAverage( close(period = AggregationPeriod.DAY), superfast_length1D);

#@@@@@@@@@@@@@@@@@@@@@@@@@@@@


#@@!!#####$$$$$$$ all 0,5,10...

#LABEL3
#######
#######
AddLabel (yes, (("AL")), if AccDistVolPr > AccDistVolPr[1] and AccDistVolPr5 > AccDistVolPr5[5] and AccDistVolPr10 > AccDistVolPr10[10] and price > price[3] and FI > FI[3] and FI5 > FI5[5] and FI10 > FI10[10] and mov_avg4 > mov_avg4[3] and mov_avg4_5 > mov_avg4_5[5] and mov_avg4_10 > mov_avg4_10[10] then Color.GREEN else



if AccDistVolPr < AccDistVolPr[1] and AccDistVolPr5 < AccDistVolPr5[5] and AccDistVolPr10 < AccDistVolPr10[10] and price < price[3] and FI < FI[3] and FI5 < FI5[5] and FI10 < FI10[10] and mov_avg4 < mov_avg4[3] and mov_avg4_5 < mov_avg4_5[5] and mov_avg4_10 < mov_avg4_10[10] then Color.RED else Color.WHITE);
#AddLabel (yes, "/", Color.GRAY);
######

#######
AddLabel (yes, (("AL1")), if AccDistVolPr > AccDistVolPr[1] and price > price[3] and FI > FI[3] and mov_avg4 > mov_avg4[3] then Color.GREEN else

if AccDistVolPr < AccDistVolPr[1] and price < price[3] and FI < FI[3] and mov_avg4 < mov_avg4[3] then Color.RED else Color.WHITE);
#AddLabel (yes, "/", Color.GRAY);
######


#######
AddLabel (yes, (("AL3")), if AccDistVolPr3 > AccDistVolPr3[3] and price > price[3] and FI3 > FI3[3] and mov_avg4_3 > mov_avg4_3[3] then Color.GREEN else

if AccDistVolPr3 < AccDistVolPr3[3] and price < price[3] and FI3 < FI3[3] and mov_avg4_3 < mov_avg4_3[3] then Color.RED else Color.WHITE);
#AddLabel (yes, "/", Color.GRAY);
######


#######
AddLabel (yes, (("AL5")), if AccDistVolPr5 > AccDistVolPr5[5] and price > price[3] and FI5 > FI5[5] and mov_avg4_5 > mov_avg4_5[5] then Color.GREEN else

if AccDistVolPr3 < AccDistVolPr5[5] and price < price[3] and FI5 < FI5[5] and mov_avg4_5 < mov_avg4_5[5] then Color.RED else Color.WHITE);
#AddLabel (yes, "/", Color.GRAY);
######
#######

############## MIX LABELS AGG PERIODS #############################

AddLabel (yes, "/", Color.GRAY);
AddLabel (yes, ((" 0 ")), if price > price[3] and FI > FI[3] and FI > FI[6] and mov_avg4 > mov_avg4[1] then Color.CYAN else if price < price[3] and price < price[9] and FI < FI[3] and FI < FI[6] and mov_avg4 < mov_avg4[1] then CreateColor(255, 90, 19) else Color.GRAY);


##### ALL PLOT SQUARES ###########################

plot ALL = if price >= 0 then -120 else Double.NaN;
ALL.SetPaintingStrategy (PaintingStrategy.SQUARES);

ALL.AssignValueColor(if AccDistVolPr > AccDistVolPr[3] and close > close[3] and FI > FI[3] and FI > FI[6] and mov_avg4 > mov_avg4[3] then Color.CYAN else if AccDistVolPr < AccDistVolPr[3] and close < close[3] and close < close[6] and FI < FI[3] and FI < FI[6] and mov_avg4 < mov_avg4[3] then Color.RED else Color.GRAY);
#ALL3.SetLineWeight (3);



plot ALL3 = if price >= 0 then -140 else Double.NaN;
ALL3.SetPaintingStrategy (PaintingStrategy.SQUARES);

ALL3.AssignValueColor(if AccDistVolPr3 > AccDistVolPr3[3] and close > close[3] and FI3 > FI3[3] and mov_avg4_3 > mov_avg4_3[3] then Color.CYAN else if AccDistVolPr3 < AccDistVolPr3[3] and close < close[3] and close < close[3] and FI3 < FI3[3] and mov_avg4_3 < mov_avg4_3[3] then Color.RED else Color.GRAY);
#ALL3.SetLineWeight (3);


plot ALL5 = if price >= 0 then -160 else Double.NaN;
ALL5.SetPaintingStrategy (PaintingStrategy.SQUARES);

ALL5.AssignValueColor(if AccDistVolPr5 > AccDistVolPr5[5] and close > close[5] and FI5 > FI5[5] and mov_avg4_5 > mov_avg4_5[5] then Color.CYAN else if AccDistVolPr5 < AccDistVolPr5[5] and close < close[5] and close < close[10] and FI5 < FI5[5] and mov_avg4_5 < mov_avg4_5[5] then Color.RED else Color.GRAY);
#ALL3.SetLineWeight (3);


plot ALL10 = if price >= 0 then -180 else Double.NaN;
ALL10.SetPaintingStrategy (PaintingStrategy.SQUARES);

ALL10.AssignValueColor(if AccDistVolPr10 > AccDistVolPr10[10] and close > close[10] and FI10 > FI10[10] and FI10 > FI10[10] and mov_avg4_10 > mov_avg4_10[10] then Color.CYAN else if AccDistVolPr10 < AccDistVolPr10[10] and close < close[10] and close < close[20] and FI10 < FI10[10] and FI10 < FI10[10] and mov_avg4_10 < mov_avg4_10[10] then Color.RED else Color.GRAY);
#ALL3.SetLineWeight (3);

###AddLabel (yes, ((" 5. ")),if AccDistVolPr5 > AccDistVolPr5[5]and price > price[5] and FI5 > FI5[5] and FI5 > FI5[10] and mov_avg4_5 > mov_avg4_5[5] then Color.blue else if AccDistVolPr5 < AccDistVolPr5[5] and price < price[5] and price < price[10] and FI5 < FI5[5] and FI5 < FI5[10] and mov_avg4_5 < mov_avg4_5[5] then Color.white else Color.gray);

#####
AddLabel (yes, ((" 3 ")), if close > close[5] and FI3 > FI3[3] and FI3 > FI3[6] and mov_avg4_3 > mov_avg4_3[3] then Color.CYAN else if close < close[5] and FI3 < FI3[3] and FI3 < FI3[6] and mov_avg4_3 < mov_avg4_3[3] then CreateColor(255, 105, 19) else Color.GRAY);

#####
AddLabel (yes, ((" 5 ")), if close > close[5] and FI5 > FI5[5] and FI5 > FI5[10] and mov_avg4_5 > mov_avg4_5[5] then Color.CYAN else if close < close[5] and FI5 < FI5[5] and FI5 < FI5[10] and mov_avg4_5 < mov_avg4_5[5] then CreateColor(255, 125, 19) else Color.GRAY);
#def FI5 = ExpAverage(data = (close - close[1]) * volume, lengthF);
#def AccDistVolPr = AccumDist(high, close, low, open, volume);

#####
AddLabel (yes, ((" 10 ")), if close > close[10] and FI10 > FI10[10] and FI10 > FI10[20] and mov_avg4_10 > mov_avg4_10[10] then Color.CYAN else if close < close[10] and FI10 < FI10[10] and FI10 < FI10[20] and mov_avg4_10 < mov_avg4_10[10] then CreateColor(255, 145, 19) else Color.GRAY);



AddLabel (yes, ((" 15 ")), if close > close[15] and FI30 > FI30[15] and FI30 > FI30[30] and mov_avg4_30 > mov_avg4_30[15] then Color.CYAN else if close < close[15] and FI30 < FI30[15] and FI30 < FI30[30] and mov_avg4_30 < mov_avg4_30[15] then CreateColor(255, 165, 19) else Color.GRAY);


#AddLabel (yes, ((" 20 ")), if Close(period = AggregationPeriod.TWENTY_MIN) > Close(period = AggregationPeriod.TWENTY_MIN)[20] AND FI20 > FI20[20] AND mov_avg4_20 > mov_avg4_20[20] then Color.CYAN else if Close(period = AggregationPeriod.TWENTY_MIN) < Close(period = AggregationPeriod.TWENTY_MIN)[20] and FI20 < FI20[20] AND mov_avg4_20 < mov_avg4_20[20] then Color.DARK_ORANGE else Color.GRAY);
########################################
################### 1H ##################
###########################################


AddLabel (yes, ((" 1-H ")), if FI1h > FI1h[60] and mov_avg4_1h > mov_avg4_1h[60] then Color.CYAN else if FI1h < FI1h[60] and mov_avg4_1h < mov_avg4_1h[60] then Color.DARK_ORANGE else Color.GRAY);

Alert( FI1h > FI1h[1] and mov_avg4_1h > mov_avg4_1h, "1hour", Alert.BAR, Sound.Ding );




#END CODE

Reply With Quote
The following 3 users say Thank You to alagrande for this post:
 
  #15 (permalink)
Elite Member
San Jose CA/USA
 
Trading Experience: Beginner
Platform: TradeStation
Favorite Futures: Emini ES
 
Posts: 1 since Apr 2018
Thanks: 0 given, 0 received

Any chance someone could explain v2.2 or v2.3?

Thanks!

Reply With Quote
 
  #16 (permalink)
Trading Apprentice
Austin, TX USA
 
Trading Experience: Intermediate
Platform: TOS
Favorite Futures: ES, CL, GC
 
Posts: 7 since Apr 2018
Thanks: 11 given, 1 received

works great on CL, but doesn't work for ES as the lines gets flat, I believe due the number 2680's ES carries, if there is a variable needs to be changed then it will be great, I am not a script programmer, if alagrande can fix that?

Reply With Quote
 
  #17 (permalink)
Trading Apprentice
chicago IL
 
Trading Experience: Beginner
Platform: thinkorswim
Favorite Futures: GOLD GC
 
Posts: 1 since Jun 2018
Thanks: 1 given, 0 received

This doesn't work on TOS. I see the lower was created, but the box is blank and all the features say N/A.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
 
  #18 (permalink)
Trading Apprentice
Austin, TX USA
 
Trading Experience: Intermediate
Platform: TOS
Favorite Futures: ES, CL, GC
 
Posts: 7 since Apr 2018
Thanks: 11 given, 1 received

It works


cowspoo View Post
This doesn't work on TOS. I see the lower was created, but the box is blank and all the features say N/A.

Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

I figured out, it works only 3 min or less charts, you may need to adjust the angle. I cant post picture as I am new.
I trade PA( bar by bar), so it helps me confirm my readings. Great tool.

Reply With Quote
The following user says Thank You to astortx for this post:
 
  #19 (permalink)
Trading Apprentice
glendale ca usa
 
Trading Experience: Beginner
Platform: tos
Favorite Futures: gold
 
Posts: 45 since Sep 2017
Thanks: 2 given, 33 received


astortx View Post
I figured out, it works only 3 min or less charts, you may need to adjust the angle. I cant post picture as I am new.
I trade PA( bar by bar), so it helps me confirm my readings. Great tool.

Hi am glad you have figure it out.

Here is a better study u need to try out, this is a lot better, i hope u make tons of $$$




declare lower;
#RSI_war_v3

input emaLength = 12;#6
input rsiLength = 14;


input nFE = 13;#hint nFE: length for Fractal Energy calculation.
input price = close;
# Variables:
def o;
def h;
def l;
def c;
def CU1;
def CU2;
def CU;
def CD1;
def CD2;
def CD;
def L0;
def L1;
def L2;
def L3;
plot RSI;
RSI.Hide();
RSI.HideBubble();
plot OS;
plot OB;

# Calculations
o = (open + close[1]) / 2;
h = Max(high, close[1]);
l = Min(low, close[1]);
c = (o + h + l + close) / 4;
plot gamma = Log(Sum((Max(high, close[1]) - Min(low, close[1])), nFE) /
(Highest(high, nFE) - Lowest(low, nFE)))
/ Log(nFE);
gamma.SetDefaultColor(Color.GRAY);
GAMMA.HideBubble();
GAMMA.HIDE();
gamma.AssignValueColor(if gamma < .4 then Color.RED else if gamma > .6 then Color.GREEN else Color.GRAY);
L0 = (1 – gamma) * c + gamma * L0[1];
L1 = -gamma * L0 + L0[1] + gamma * L1[1];
L2 = -gamma * L1 + L1[1] + gamma * L2[1];
L3 = -gamma * L2 + L2[1] + gamma * L3[1];
if L0 >= L1
then {
CU1 = L0 - L1;
CD1 = 0;
} else {
CD1 = L1 - L0;
CU1 = 0;
}
if L1 >= L2
then {
CU2 = CU1 + L1 - L2;
CD2 = CD1;
} else {
CD2 = CD1 + L2 - L1;
CU2 = CU1;
}
if L2 >= L3
then {
CU = CU2 + L2 - L3;
CD = CD2;
} else {
CU = CU2;
CD = CD2 + L3 - L2;
}

RSI = if CU + CD <> 0 then CU / (CU + CD) else 0;
RSI.SetDefaultColor(Color.CYAN);
OS = if IsNaN(close) then Double.NaN else 0.2;
OS.SetDefaultColor(Color.GRAY);
OS.HideBubble();
OS.HideTitle();
OB = if IsNaN(close) then Double.NaN else 0.8;
OB.SetDefaultColor(Color.GRAY);
OB.HideBubble();
OB.HideTitle();
plot FEh = if IsNaN(close) then Double.NaN else .618;
FEh.SetStyle(Curve.LONG_DASH);
FEh.HideBubble();
FEh.SetDefaultColor(Color.DARK_GRAY);
FEh.HideTitle();
plot FEl = if IsNaN(close) then Double.NaN else .382;
FEl.SetStyle(Curve.LONG_DASH);
FEl.SetDefaultColor(Color.DARK_GRAY);
FEl.HideBubble();
FEl.HideTitle();
AddCloud(0, OS, Color.GREEN, Color.RED);
AddCloud(OB, 1, Color.RED, Color.GREEN);
Alert(RSI crosses below .9, "", Alert.BAR, Sound.Ding);
Alert(RSI crosses above .1, "", Alert.BAR, Sound.Bell);

# End Code RSI_Laguerre Self Adjusting with Fractal Energy



##COLORED LINE ###########
def ema = ExpAverage(close, emaLength);
def netChgAvgS = ExpAverage(close - ema, rsiLength);
def totChgAvgS = ExpAverage(AbsValue(close - ema), rsiLength);
def chgRatioS = if totChgAvgS != 0 then netChgAvgS / totChgAvgS else 0;

plot SlowRSI = .5* (chgRatioS + 1);#70*
SlowRSI.HideBubble();
#SLOWRSI.HIDE();#############################

SlowRSI.AssignValueColor(if SlowRSI > SlowRSI[1] then Color.WHITE else if SlowRSI < SlowRSI[1] then Color.RED else Color.LIGHT_GRAY);
SlowRSI.SetLineWeight(2);
#################
##################

###GRAY LINE#######
input emaLength2 = 14;#2
input rsiLength2 = 9;#5

def ema2 = ExpAverage(close, emaLength2);
def netChgAvgS2 = ExpAverage(close - ema2, rsiLength2);
def totChgAvgS2 = ExpAverage(AbsValue(close - ema2), rsiLength2);
def chgRatioS2 = if totChgAvgS2 != 0 then netChgAvgS2 / totChgAvgS2 else 0;

plot SlowRSI2 = .7* (chgRatioS2 + .7);#90*
#SlowRSI2.Hide();#####################
SlowRSI2.setDefaultColor(color.gray);
SlowRSI2.HideBubble();

AddCloud(SlowRSI, SlowRSI2, Color.YELLOW, CreateColor(0, 153, 191));

# percentR ########
input lengthR = 14;
input over_Sold = .2;
input over_Bought = .8;

def highest = Highest(high, lengthR);
def divisor = highest - Lowest(low, lengthR);

plot "%R" = .01* if divisor equals 0 then 0 else 100 - 100 * (highest - close) / divisor;

"%R".DefineColor("OverBought", GetColor(1));
"%R".DefineColor("Normal", GetColor(7));
"%R".DefineColor("OverSold", GetColor(5));
"%R".AssignValueColor(if "%R" > over_Bought then "%R".color("OverBought") else if "%R" < over_Sold then "%R".color("OverSold") else "%R".color("Normal"));

#end code

Reply With Quote
The following 2 users say Thank You to alagrande for this post:
 
  #20 (permalink)
Elite Member
Dallas
 
Trading Experience: Beginner
Platform: ninjatrader
Favorite Futures: crude cl
 
Posts: 5 since Aug 2016
Thanks: 0 given, 1 received



alagrande View Post
Hi am glad you have figure it out.

Here is a better study u need to try out, this is a lot better, i hope u make tons of $$$




declare lower;
#RSI_war_v3

input emaLength = 12;#6
input rsiLength = 14;


input nFE = 13;#hint nFE: length for Fractal Energy calculation.
input price = close;
# Variables:
def o;
def h;
def l;
def c;
def CU1;
def CU2;
def CU;
def CD1;
def CD2;
def CD;
def L0;
def L1;
def L2;
def L3;
plot RSI;
RSI.Hide();
RSI.HideBubble();
plot OS;
plot OB;

# Calculations
o = (open + close[1]) / 2;
h = Max(high, close[1]);
l = Min(low, close[1]);
c = (o + h + l + close) / 4;
plot gamma = Log(Sum((Max(high, close[1]) - Min(low, close[1])), nFE) /
(Highest(high, nFE) - Lowest(low, nFE)))
/ Log(nFE);
gamma.SetDefaultColor(Color.GRAY);
GAMMA.HideBubble();
GAMMA.HIDE();
gamma.AssignValueColor(if gamma < .4 then Color.RED else if gamma > .6 then Color.GREEN else Color.GRAY);
L0 = (1 – gamma) * c + gamma * L0[1];
L1 = -gamma * L0 + L0[1] + gamma * L1[1];
L2 = -gamma * L1 + L1[1] + gamma * L2[1];
L3 = -gamma * L2 + L2[1] + gamma * L3[1];
if L0 >= L1
then {
CU1 = L0 - L1;
CD1 = 0;
} else {
CD1 = L1 - L0;
CU1 = 0;
}
if L1 >= L2
then {
CU2 = CU1 + L1 - L2;
CD2 = CD1;
} else {
CD2 = CD1 + L2 - L1;
CU2 = CU1;
}
if L2 >= L3
then {
CU = CU2 + L2 - L3;
CD = CD2;
} else {
CU = CU2;
CD = CD2 + L3 - L2;
}

RSI = if CU + CD <> 0 then CU / (CU + CD) else 0;
RSI.SetDefaultColor(Color.CYAN);
OS = if IsNaN(close) then Double.NaN else 0.2;
OS.SetDefaultColor(Color.GRAY);
OS.HideBubble();
OS.HideTitle();
OB = if IsNaN(close) then Double.NaN else 0.8;
OB.SetDefaultColor(Color.GRAY);
OB.HideBubble();
OB.HideTitle();
plot FEh = if IsNaN(close) then Double.NaN else .618;
FEh.SetStyle(Curve.LONG_DASH);
FEh.HideBubble();
FEh.SetDefaultColor(Color.DARK_GRAY);
FEh.HideTitle();
plot FEl = if IsNaN(close) then Double.NaN else .382;
FEl.SetStyle(Curve.LONG_DASH);
FEl.SetDefaultColor(Color.DARK_GRAY);
FEl.HideBubble();
FEl.HideTitle();
AddCloud(0, OS, Color.GREEN, Color.RED);
AddCloud(OB, 1, Color.RED, Color.GREEN);
Alert(RSI crosses below .9, "", Alert.BAR, Sound.Ding);
Alert(RSI crosses above .1, "", Alert.BAR, Sound.Bell);

# End Code RSI_Laguerre Self Adjusting with Fractal Energy



##COLORED LINE ###########
def ema = ExpAverage(close, emaLength);
def netChgAvgS = ExpAverage(close - ema, rsiLength);
def totChgAvgS = ExpAverage(AbsValue(close - ema), rsiLength);
def chgRatioS = if totChgAvgS != 0 then netChgAvgS / totChgAvgS else 0;

plot SlowRSI = .5* (chgRatioS + 1);#70*
SlowRSI.HideBubble();
#SLOWRSI.HIDE();#############################

SlowRSI.AssignValueColor(if SlowRSI > SlowRSI[1] then Color.WHITE else if SlowRSI < SlowRSI[1] then Color.RED else Color.LIGHT_GRAY);
SlowRSI.SetLineWeight(2);
#################
##################

###GRAY LINE#######
input emaLength2 = 14;#2
input rsiLength2 = 9;#5

def ema2 = ExpAverage(close, emaLength2);
def netChgAvgS2 = ExpAverage(close - ema2, rsiLength2);
def totChgAvgS2 = ExpAverage(AbsValue(close - ema2), rsiLength2);
def chgRatioS2 = if totChgAvgS2 != 0 then netChgAvgS2 / totChgAvgS2 else 0;

plot SlowRSI2 = .7* (chgRatioS2 + .7);#90*
#SlowRSI2.Hide();#####################
SlowRSI2.setDefaultColor(color.gray);
SlowRSI2.HideBubble();

AddCloud(SlowRSI, SlowRSI2, Color.YELLOW, CreateColor(0, 153, 191));

# percentR ########
input lengthR = 14;
input over_Sold = .2;
input over_Bought = .8;

def highest = Highest(high, lengthR);
def divisor = highest - Lowest(low, lengthR);

plot "%R" = .01* if divisor equals 0 then 0 else 100 - 100 * (highest - close) / divisor;

"%R".DefineColor("OverBought", GetColor(1));
"%R".DefineColor("Normal", GetColor(7));
"%R".DefineColor("OverSold", GetColor(5));
"%R".AssignValueColor(if "%R" > over_Bought then "%R".color("OverBought") else if "%R" < over_Sold then "%R".color("OverSold") else "%R".color("Normal"));

#end code

Thanks! trying it out now. does this work on all time frames?

Reply With Quote
The following user says Thank You to plastictrees for this post:

Reply



futures io > > > > RSI_CCI MULTI TIME FRAME (make money)




Upcoming Webinars and Events (4:30PM ET unless noted)
 

Journal Challenge $1600 in Prizes & Free Journalytix for all participants!

February
 

3 Excellent Entries, and How To Automate Them w/Kevin Davey

Feb 21
 

The Driving Force Behind the Market w/Earn2Trade

Mar 5
 

TBA w/Stage5 & iSystems

Mar 12
 

TBA w/John Grady @ No BS Day Trading

Mar 19
 

Day Trading Oil Futures: Reducing Risk & Increasing Profits w/DTN IQFeed

Mar 26
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
MedianRenko Multi Time Frame venichhe NinjaTrader 0 December 2nd, 2017 01:17 AM
Multi Time Frame Clarification resirca52009 NinjaTrader 1 February 9th, 2017 01:46 PM
Stochastics multi time frame ? curleta NinjaTrader 3 September 24th, 2015 07:23 AM
multi time-frame questions -- this is different balance NinjaTrader Programming 4 January 12th, 2013 03:27 AM
ADX Multi Time Frame bellair NinjaTrader 9 November 10th, 2011 11:14 AM


Tags
%r, average, candle patterns, cci, cl, code, data, dow, ema, email, es, feedback, fractals, futures, histogram, how to, indicator, indicators, laguerre, mtf, multiple_time_frames, ondemand, paper money, patterns, rsi, signals, squeeze, strategy, tapatalk, think or swim, thinkorswim, time frames, tos, trading, update, variable, volume, wedge, white

All times are GMT -4. The time now is 08:54 PM. (this page content is cached, log in for real-time version)

Copyright © 2019 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2019-02-19 in 0.14 seconds with 14 queries on phoenix