NexusFi: Find Your Edge


Home Menu

 





CCI_CLOUDS for TOS


Discussion in ThinkOrSwim

Updated
    1. trending_up 6,044 views
    2. thumb_up 3 thanks given
    3. group 2 followers
    1. forum 19 posts
    2. attach_file 2 attachments




 
Search this Thread
  #11 (permalink)
 StockT8er 
ROY, Utah
 
Experience: Intermediate
Platform: TradeStation
Posts: 81 since Apr 2020
Thanks Given: 11
Thanks Received: 6

It is for TD AmeriaTrade ThinkorSwim


Reply With Quote
  #12 (permalink)
 StockT8er 
ROY, Utah
 
Experience: Intermediate
Platform: TradeStation
Posts: 81 since Apr 2020
Thanks Given: 11
Thanks Received: 6

are you using ThinkorSwim?


Reply With Quote
  #13 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

the same.. nothing shows.


Reply With Quote
  #14 (permalink)
 StockT8er 
ROY, Utah
 
Experience: Intermediate
Platform: TradeStation
Posts: 81 since Apr 2020
Thanks Given: 11
Thanks Received: 6

Are you combining the Stop Loss with the CCI
I did not, I added TD's Stop Loss and Just modify the percent

I have found that not all stocks are the same, at least using the same percent stop loss
I set this up for TSLA how ever pays better on some other stocks and loses on others


Reply With Quote
  #15 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

$AMD ...


#CCI_CLOUDS

input cciLength2 = 5;
input cciAvgLength2 = 3;
input over_Sold = 20;
input over_Bought = 80;

#--------------------------------------------

def CCI2 = .5 * CCI(length = cciLength2) + 50;
def CCIAvg2 = Average(CCI2, cciAvgLength2);
def CCI3 = ExpAverage(CCI2);
input usetimefilter = yes;

#positioning
input rthopen = 0930;
input rthclose = 2000;
def RTH = if usetimefilter == yes then if SecondsFromTime(rthopen) >= 0 and
SecondstillTime(rthclose) >= 0
then 1
else 0 else 1;


AddOrder(OrderType.BUY_TO_OPEN, rth == 1 and CCI2 crosses above CCI3,
tickcolor = GetColor(0), arrowcolor = GetColor(0), name = "CCI_LE");
AddOrder(OrderType.SELL_TO_CLOSE, rth == 1 and CCI2 crosses below CCI3,
tickcolor = GetColor(1), arrowcolor = GetColor(1), name = "CCI_SE");


Reply With Quote
  #16 (permalink)
 StockT8er 
ROY, Utah
 
Experience: Intermediate
Platform: TradeStation
Posts: 81 since Apr 2020
Thanks Given: 11
Thanks Received: 6

AH I did click the set up wheel and
CCI_LE check the Position effect To Open BOX
CCI_SE check the Position effect To Close


Reply With Quote
  #17 (permalink)
 StockT8er 
ROY, Utah
 
Experience: Intermediate
Platform: TradeStation
Posts: 81 since Apr 2020
Thanks Given: 11
Thanks Received: 6

See Attachement


Attached Files
Elite Membership required to download: CCI_CLOUDS.pdf
Reply With Quote
Thanked by:
  #18 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

add this piece to the bottom of the ugly duck2...



addlabel(yes, " A ", if red>0 and yellow<yellow[1] and cyan>cyan[1] then color.pink else if red>0 and yellow>yellow[1] and cyan<cyan[1] then color.red else if red<0 and yellow>yellow[1] and cyan<cyan[1] then color.cyan else if red<0 and yellow<yellow[1] and cyan>cyan[1] then color.green else color.gray);


Reply With Quote
  #19 (permalink)
 StockT8er 
ROY, Utah
 
Experience: Intermediate
Platform: TradeStation
Posts: 81 since Apr 2020
Thanks Given: 11
Thanks Received: 6

What was that suppose to do, I did not see a change
Ah I say the A at the top

Been trying to change to a strategy, so far just got it to buy and sell every bar.
Working on getting to only sell when it changes to red.


Reply With Quote
  #20 (permalink)
alagrande
glendale ca usa
 
Posts: 97 since Sep 2017
Thanks Given: 11
Thanks Received: 88

added a bar or box called "A"


Reply With Quote




Last Updated on May 17, 2020


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts