| karennma 8,057 posts
 msg #151976
 - Ignore karennma
 | 4/30/2020 10:50:13 AM 
 This  old message still applies:
 BOOLEAN for SF ... link?	<< >>Post Follow-up
 karennma
 7,607 posts
 msg #127809 	4/3/2016 11:52:16 AM
 
 Question:
 Boolean filters?
 i.e.,
 
 I don't know what "qq" means. I don't know what "rr" means ...
 I don't know what "oo" + "rr" means. (WHY are they adding "oo" and "rr"?)
 SET{C1, oo + rr}
 SET{C2, C1 +qq}
 
 What would be the difference between "r" vs. "rr" or "q" vs. "qq"?
 SET{rr, COUNT(r between 0.99 and 1,1)}
 SET{qq, COUNT(q between 0.99 and 1,1)}
 
 set{o, ma(20)/close}
 SET{oo, COUNT(o between 0.99 and 1,1)}
 set{r, ma(50)/close}
 SET{rr, COUNT(r between 0.99 and 1,1)}
 set{q, ma(200)/close}
 SET{qq, COUNT(q between 0.99 and 1,1)}
 
 add column c2{times}
 sort column 5 descending
 
 add column oo{ma20}
 add column rr{ma50}
 SET{rr, COUNT(r between 0.99 and 1,1)}{ma200}
 SET{C1, oo + rr}
 SET{C2, C1 + qq}
 
 Some one else had a Boolean filter that put "Buy", Sell", 'Wait" cubes at the bottom of their charts. I believe it was color-coded.
 I have NO clue how to do it. I copied their filter a few months ago, but couldn't modify it because I don't know Boolean.
 =================================
 
 CURRENT Question:
 Okay!  So, that's the old post.  Here's my question ...
 How do I put those red cubes at the bottom of my charts which would specify the following:
 A simplified example would be:
 B (buy) = RSI(14) above 90
 S (sell) = RSI(14) below 20
 
 A lot of peeps add those red blocks to the bottom of their charts, but I don't know how to do it.
 Anyone who knows how to do this -- I'd appreciate the assistance.
 
 
 
 
 
 
 | 
| xarlor 619 posts
 msg #151979
 - Ignore xarlor
 | 4/30/2020 11:23:43 AM 
 karen, they're just using variables.  oo and rr can be replaced with var1 and var2 or x1 and x2 or whateveryouwant1 and whateveryouwant2.
 
 If you post the Boolean filter and what modifications you want I will try and explain.
 
 As for your current question, to draw the blocks at the bottom here is how I do it:
 
 
 
 
 
 | 
| karennma 8,057 posts
 msg #151980
 - Ignore karennma
 | 4/30/2020 12:32:14 PM 
 I don't see any blocks.
 
 
 
 | 
| karennma 8,057 posts
 msg #151981
 - Ignore karennma
 modified
 | 4/30/2020 12:38:16 PM 
 .
 
 
 | 
| karennma 8,057 posts
 msg #151982
 - Ignore karennma
 modified
 | 4/30/2020 12:40:46 PM 
 .
 
 
 | 
| xarlor 619 posts
 msg #151986
 - Ignore xarlor
 | 4/30/2020 2:26:23 PM 
 They're there, just not on all tickers.  The boxes only appear if they broke RSI(14) 20 or 90 within the last 3 months.
 
 
 | 
| karennma 8,057 posts
 msg #151987
 - Ignore karennma
 | 4/30/2020 2:49:55 PM 
 Does this work for you ?  .. or is something missing?
 I don't understand where I've told it to put in those cubes.
 
 
 
 
 
 
 | 
| karennma 8,057 posts
 msg #151990
 - Ignore karennma
 | 4/30/2020 3:15:52 PM 
 
 
 
 | 
| xarlor 619 posts
 msg #151991
 - Ignore xarlor
 modified
 | 4/30/2020 3:18:49 PM 
 If you want to see when the conditions hit for those tickers:
 
 
 
 
 
 If you want to show only when one of those conditions is true today:
 
 
 
 
 
 | 
| Cheese 1,374 posts
 msg #151992
 - Ignore Cheese
 modified
 | 4/30/2020 3:33:10 PM 
 .
 
 
 |