Optuma Forums › Optuma General Discussion › Twitter Charts
Tagged: Twitter, Percentage of Stock, Indicies, breadth
- This topic has 22 replies, 6 voices, and was last updated 1 year ago by
Darren.
-
AuthorPosts
-
September 24, 2021 at 9:09 pm #66139
Darren
- Topics: 74
- Replies: 967
- Posts: 1,041
September 20th Gap in the $SPX: https://twitter.com/Optuma/status/1440999242319945731?s=20
This script can be used to show if there was a gap greater than 0.5% from the low on Friday 17th:
1234567891011//Set Gap Low Date;LowDate = BARDATE()==STRDATE(DATE=2021-09-17);//Set Gap High Date;GapDate = BARDATE()==STRDATE(DATE=2021-09-20);//Get High / Low values for those days;FriLow = VALUEWHEN(LOW(),LowDate);MonHi = VALUEWHEN(HIGH(),GapDate);//Was there a 0.5% gap down?MonHi < FriLow * 0.995To find if the gap has been filled add this to the last line:
123and HIGHESTHIGH(RANGE=Range, RANGESTART=2021-09-20) > FriLowAs of Thursday 23rd, 128 of the 150 gaps had been closed.
-
This reply was modified 1 year ago by
Darren.
October 5, 2021 at 10:10 pm #66259Darren
- Topics: 74
- Replies: 967
- Posts: 1,041
The Lowest Close Since formula used in this Tweet can be found here: https://forum.optuma.com/topic/timesincesignal-formulas/#post-51863
To show the ‘Worst Daily Loss Since’ date in a watchlist:
12345//Set Column Type to Date format in watchlist;D1=LAST(ROC(BARS=1));BARDATE(ROC(BARS=1)<D1)Best Daily Gain Since:
12345//Set Column Type to Date format in watchlist;D1=LAST(ROC(BARS=1));BARDATE(ROC(BARS=1)>D1)October 26, 2021 at 11:37 pm #66377Darren
- Topics: 74
- Replies: 967
- Posts: 1,041
Market Cap time series data comparing biggest US companies: https://twitter.com/Optuma/status/1452923394945601538?s=20
This was created using a Script Chart: https://help.optuma.com/kb/faq.php?id=951
You must have our Fundamental Data enabled to use the script:
123DATAFIELD(FEED=FD, FIELD=MarketCapitalization, LATESTONLY=False) / 1000-
This reply was modified 1 year ago by
Darren.
November 4, 2021 at 10:26 pm #66489Darren
- Topics: 74
- Replies: 967
- Posts: 1,041
Swing scan for change in trend: https://twitter.com/Optuma/status/1456224982028148748?s=20
The Tweet was based on a 3 bar Gann Swing, but it can be applied to a Percent or Volatility Swing (simply change the S1 variable which will then be used by the SWINGTRENDUP and SWINGTRENDDOWN functions).
123456//Define swing;S1 = GANNSWING(SWINGCOUNT=3, METHOD=Use Next Bar, USEINSIDE=True);SWINGTRENDUP(S1) ChangeTo 1 orSWINGTRENDDOWN(S1) ChangeTo 1November 10, 2021 at 12:57 am #66543Jason
- Topics: 4
- Replies: 3
- Posts: 7
Would you please post the script to calculate the number of all-time high closes by year from this post? https://twitter.com/Optuma/status/1458029600282398724
TIA!
November 10, 2021 at 9:23 am #66556Matthew
- Topics: 5
- Replies: 670
- Posts: 675
Hi,
Here is the script used for that chart (used with a Show View)…
123456V1 = HIGHESTHIGH(CLOSE(),RANGE=All History) ;V2 = CLOSE() == V1 and V1 IsUp;V3 = YEARNUM() IsUp ;ACCSINCESIGNAL(V2,V3)2 users thanked author for this post.
December 9, 2021 at 7:51 am #66877Matthew
- Topics: 1
- Replies: 3
- Posts: 4
By modifying this with Close() > MA(BARS=20, STYLE=Weighted) will this get me Percentage of Stocks Above 20-day MA while using IsMemebr()?
I’m referring to the SPX % of Outperforming Stocks code that you put out to begin this thread.
My breadth module once built looks correct, but I’m having trouble converting it to a line chart/indicator too. I’ve had this trouble with other customs built as they show as signal lines on price rather than as an indicator. Thanks for any help!
-
This reply was modified 1 year ago by
Matthew Timpane. Reason: Worked through Module and updated problem or problems I think I'm having
December 9, 2021 at 11:21 pm #66889Darren
- Topics: 74
- Replies: 967
- Posts: 1,041
Thanks Matthew. Yes that should work. To display the breadth data as eg histogram rather than line use the Breadth Data tool to display under a chart, and change the Breadth Source to Custom and select if from your list (change the Tool Name to display in the label).
PS if taking screenshots use ALT+P to copy image to clipboard, and CTRL+V to paste without the need to use a snipping app.
-
AuthorPosts
- The topic ‘Twitter Charts’ is closed to new replies.