Hi, I am trying to add an alert when the cumulative tick crosses above and below the zeroline, I use it on a 5 min chart. The alerts I added produce unreliable results, Any help would be appreciated # Tick Profile # Mobius # V01.01.23.2019 declare lower; def active = GetTime() >= RegularTradingStart(getYYYYMMDD()) and GetTime() <= RegularTradingEnd(getYYYYMMDD());by jakesdad - Trading Discussion
try this: #intepreted by vimes declare lower; input len = 20; def srsin; def value1 = close - open; #code in the article had the absvalue here but then it would never oscillate around 0 def value2 = high - low; def value3 = if value2 == 0 then 0 else value1 / value2; srsin = Sum(value3, len); plot srsi = srsin / len; plot l1 = 0.38 ; #limits from the article, seby jakesdad - Trading Discussion
nice code tanman, The E system has always been a mystery for me, In some of the shorter time frames stocks appear oversold or overbought once the signal fires, I like your longer time frames. In the second script that labels the ATR and shows the SPY trend have you figured out a way to scan for the "bull" and "bear" signals? Good stuff, thanks for postingby jakesdad - Trading Discussion
Here's one of my favorites by the great Mobius plot Data = close;# Mobius at MyTrade # V01.08.10 input nSMA = 20; input StDevMult = 2.0; input ATRfactor = 1.5; input LineLimit = 200; input Detrend = 0; input OnExpansion = yes; input nRSI = 14; input OverBought = 70; input OverSold = 30; input MidLine = 50; # Global definitions def h = high; def l = low; def c = close;by jakesdad - Trading Discussion
Hi all, I've been reading some interesting stuff about this indicator. I know a very successful professional trader that calls it "the most powerful indicator in the market" I found the thinkscript code below (generic version) it seems to work fairly well but I cant be sure it fires at the time the indicator is suppose to. I would also like to scan for the conditions "buy"by jakesdad - Trading Discussion
thanks for the scan code Tanman, it works nice, did you look at the lengths I mentioned above? Also can you direct me to the rules on your high low divergence study? thanksby jakesdad - Trading Discussion
Tanman, Really some great work on that bear scan, can you create the bull scan ? It returns results on a 2 min chart but won't know for sure how well it scans realtime until market opens I really like your study . I also input bar=4 and I like the results once again with lengths of 16,97,2. I also show your more standard lengths of 12,26,9 and it fits well with another MACD divergence studby jakesdad - Trading Discussion
Tanman, I like the Macd Divergence study you posted. I have always been intrigued by divergence and have several studies. I modified your code with the following lengths: 16,97,2 and like the results. I am however having problems scanning for the condition, do you have some scan code to help recognize the divergence when it occurs? Also I have not been able to get your alert to work, have you tesby jakesdad - Trading Discussion
1-RSI divergence, by Mobius, change lengths and modify, let me know what you think 2- MACD Divergence,by Mobius, change lengths and modify 1-RSI: declare lower; input nRSI = 5; #hint nRSI: RSI periods input nTrend = 100; #hint nTrend: RSI Trend Line periods input over_Bought = 70; #hint over_Bought: Over Bought Line input over_Sold = 30; #hint over_Sold: Over Sold Lineby jakesdad - Trading Discussion
Hi Robert, Let me know if you would like some divergence studies. I have RSI, MACD, and a few others Daveby jakesdad - Trading Discussion
Hi everyone, I just started day trading this past year and have been studying divergences in the RSI to stock price. I have looked at 100s of charts and see some amazing set ups using this divergence. I saw your members posted some great scripts in the forum for TOS. Is it possible to create an alert on TOS when these divergences occur (neg & pos) on a intraday period? Love the scriptby jakesdad - Trading Discussion