Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2015
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.00 KB | None | 0 0
  1. 16:04 VegaTrader: When we are doing strategies, do we have to have all other studies closed?
  2.  
  3. 16:05 Mobius©: Vega no.
  4.  
  5. 16:06 Mobius©: yw
  6.  
  7.  
  8.  
  9. Trailing Stop – is pre-built – Cindy Faber
  10.  
  11.  
  12. SPY –
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. 16:07 DonH: Can you create a strategy from a combination of studies?
  21.  
  22. 16:07 Mobius©: Don yes. That's known as a Combined Signal Approach.
  23.  
  24. 16:07 thiend: Is there a way to back test a strategy against a group of stocks instead of doing manually one at a time ?
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. 16:08 DonH: Mobius. Where would I find additional documentation on the Combined Signal Approach?
  32.  
  33. 16:08 Mobius©: thi.. in a grid but not as an automated run.
  34.  
  35. 16:09 Mobius©: DonH there's a great deal on the net regarding that subject.
  36.  
  37.  
  38.  
  39.  
  40.  
  41. 16:10 VegaTrader: a re-write - will strategies work on a chart of an option symbol?
  42.  
  43. 16:10 Mobius©: Vega yes if the data is there to support the study variables.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51. SPY –
  52.  
  53.  
  54. SPY –
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. SPY –
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75. 16:11 Harndog: DonH, StanL's MyTrade is a good resource to investigate. http://www.mytrade.com/StanL
  76.  
  77.  
  78. 16:13 VegaTrader: Eventually I would think that we should be able to run strategies on option strategies because TDAT has all the back data stored in OD and thinkback.
  79.  
  80. 16:14 Mobius©: Vega - Each option has finite and often missing bars. So that makes it problematic but not impossible.
  81.  
  82.  
  83. 16:15 VegaTrader: ... well at least maybe for large indexes.
  84.  
  85. 16:16 Brian: Vega, trail could be like this:
  86.  
  87. def trailPerc = close <= EntryPrice( ) * .08;
  88. AddOrder(OrderType.SELL_AUTO, SellSignal or trailPerc, yes);
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. SPY –
  99.  
  100.  
  101. SPY –
  102.  
  103.  
  104. SPY –
  105.  
  106.  
  107. SPY –
  108.  
  109.  
  110. SPY –
  111.  
  112.  
  113.  
  114. 16:17 VegaTrader: Would be nice for the thinkscript editor to have a replace all text occuences function.
  115.  
  116. 16:18 Mobius©: Brian, that would be a 92% loss.
  117.  
  118. 16:20 Brian: Mobius©, whoops maybe this instead:
  119. def trailPerc = close <= close - EntryPrice( ) * .08;
  120.  
  121.  
  122. 16:20 Gentle_John: Would you post the quick link to the ADX code, please.
  123.  
  124.  
  125.  
  126.  
  127.  
  128. SPY –
  129.  
  130.  
  131. SPY –
  132.  
  133.  
  134.  
  135. 16:21 VegaTrader: Can we use user-defined studies in strategies?
  136.  
  137. 16:22 Mobius©: Vega, yes.
  138.  
  139.  
  140.  
  141. Use OnDemand to test your strategies – Cindy Faber
  142.  
  143. SPY –
  144.  
  145.  
  146. SPY –
  147.  
  148.  
  149.  
  150. 16:24 hori: How can we define few contracts(commodities) or Forex(let's say 50,000) small lot in strategies?
  151.  
  152. 16:25 Gentle_John: clap, clap
  153. 16:25 SpyChick: where will we be able to find the recording
  154. 16:25 Harndog: Thank you
  155. 16:25 BobD: Yeah!!!
  156. 16:25 Atlanta-Trader: clap clap
  157. 16:25 BeBe: Clap, clap, clap!!
  158. 16:25 DonH: Thanks for everyone.
  159. 16:25 alctax: yeah!
  160. 16:25 Brian: hooray!
  161. 16:25 FIFOTrader: Good Jon Mobius and Cindy
  162.  
  163.  
  164. 16:25 unknown: Screen Show from user ' swimLessons' was stopped
  165.  
  166.  
  167. SPY –
  168.  
  169.  
  170.  
  171. 16:25 SpyChick: clap--CLAP--CLAP
  172. 16:25 Harndog: Thank you CF and Mobius...
  173. 16:25 BobD: Thanks So Much Cindy!!!!
  174. 16:25 DonH: Have a great Holiday everyone!!
  175. 16:25 Lch: Great job, Thanks everyone
  176. 16:25 BeBe: Thanks Cindy, Blessed Holidays
  177. 16:25 SpyChick: Recording?
  178. 16:25 Brian: Thankyou Cindy
  179. 16:26 Wayne: Thank you
  180. 16:26 mj: Thank you Cindy
  181. 16:26 BobD: Yes, Merry Christmas and the Best of the Holidays!!
  182.  
  183.  
  184. 16:26 Mobius©: hori - yes you can define trade lots in the strategy as well as the global settings box.
  185.  
  186. 16:26 Wayne from Calif.: What is Cindy's last name
  187. 16:26 Harndog2: Faber
  188. 16:26 Wayne from Calif.: TY
  189.  
  190. 16:27 Cindy Faber TOS: Cindy Faber
  191. 16:27 hori: Thx Mobius@
  192. 16:27 FIFOTrader: Wayne what part of Calif?
  193.  
  194. 16:27 Cindy Faber TOS: support knows how to find me if you have any questions
  195. support@thinkorswim.com
  196.  
  197.  
  198. 16:27 Mobius©: yw hori.
  199.  
  200. 16:27 VegaTrader: BTW - Everyone should write in a request for these TSL presentations to be archived - or else it may never happen.
  201.  
  202.  
  203. 16:28 SpyChick: So this wasn't recorded?
  204.  
  205. 16:28 thiend: Thanks Cindy and Mobius !
  206.  
  207. 16:28 VegaTrader: signing off, to get veggie burgers and baked beans.
  208.  
  209. 16:28 FIFOTrader: This was the best ever chat cindy
  210.  
  211. 16:28 arbol: Thanks Cindy and Mobius. Happy Holidays to everybody!
  212.  
  213. 16:29 Mobius©: SpyChick they're not recorded but you can stop in here anytime and ask questions of send your questions to support.
  214.  
  215. 16:29 UpTheCreek: People should visit the Strategy Testing page on MyTrade.
  216.  
  217. 16:29 Harndog2: Vega.... ToS is a living thing and recording the Mr. Script will cause issues when the program changes.
  218.  
  219. 16:29 Cindy Faber TOS: SpyChick - correct
  220. per compliance, Tuesday Mr. Script chats are not archived.
  221.  
  222.  
  223. 16:29 AlphaInvestor: Thanks Cindy, OB.
  224.  
  225. 16:29 Cindy Faber TOS: SpyChick - or anyone - hang on and I'll see if there are any archives on back testing.
  226.  
  227. 16:30 VegaTrader: Cindy is The woman - How can one person know all of this stuff?
  228.  
  229. 16:30 Mobius©: I will be compiling Strategy Test Results on MyTrade over the next couple months on about 50 strategies.
  230.  
  231.  
  232. 16:31 FIFOTrader: Mobius YOU ARE THE MAN
  233.  
  234. 16:31 FIFOTrader: THK
  235.  
  236. 16:31 arbol: Looking forward for that Mobius. I am learning a lot from you and Cindy.
  237.  
  238. 16:31 arbol:
  239.  
  240. Thanks a lot Mobius.
  241.  
  242. 16:31 Kenjo: Friday, Dec 18th swimLesson -- I missed that one on back testing. I'll have to watch it.
  243.  
  244. 16:31 AlphaInvestor: Mobius - thanks for compiling those results. They will be of huge benefit to all of us scripters.
  245.  
  246. 16:32 thiend: Awsome ... thanks a lot Mobius.
  247.  
  248. 16:32 hori: Thanks Mobius@ . Take it easy and don't work too hard. Happy holidays.
  249.  
  250. 16:33 Cindy Faber TOS: SpyChick - I found 2 from year 2014 ... kind of old, but I'll get the links and will post them into this chat room
  251. *** NEXT WEDNESDAY evening 7p-8p central time there will be a live chat on
  252. "Preparing for the New Year: Back testing, Stress Testing, and Forward Testing"
  253.  
  254.  
  255. 16:34 Mobius©: That should be interesting.
  256.  
  257. 16:34 FIFOTrader: Moby take it easy on the JD over holiday
  258.  
  259. 16:34 Mobius©: I'm always easy in it. It sometimes isn't easy on me though :)
  260.  
  261. 16:35 FIFOTrader: lol
  262.  
  263. 16:35 UpTheCreek: Mobius, are the MACD results based on a built-in strategy or can you post the code for folks to reference?
  264.  
  265. 16:36 Mobius©: Up.. All strategies will be TOS native or I will post the code. Setting are also posted. I'm still working on the best way to present all the data.
  266.  
  267. 16:36 Mobius©: It's quite the pile of data.
  268.  
  269. 16:37 UpTheCreek: great, I can imagine. IF you'd like assistance, just ask.
  270.  
  271. 16:37 Mobius©: thanks.
  272.  
  273.  
  274. 16:37 Cindy Faber TOS: SpyChick -
  275.  
  276. 5-21-14 Learning to Test Your Trade Ideas
  277. https://investools.webex.com/investools/lsr.php?RCID=8e8f402c27b04beb8017298a106bf2fd
  278.  
  279. 10-15-14 Putting Your Trade Ideas to the Test
  280. https://investools.webex.com/investools/lsr.php?RCID=b45117411b2341679f6323beca3de725
  281.  
  282.  
  283. 16:38 FIFOTrader: I want wish all the greatest of holiday and be save.
  284.  
  285. 16:39 UpTheCreek: Cindy, I’ve noticed that a fair number of seminars that are posted give a No Video Attached error when trying to play them. Is this something that is being worked on?
  286.  
  287.  
  288. 16:41 Mobius©: GN all be well
  289.  
  290. 16:41 VegaTrader: Cindy - for how long will these pasted in links be working?
  291.  
  292. 16:48 hori: VegaTrader, It is better to copy the link and save it in as bookmark or somewhere. The chat will be recycled I think every day based on the traffic
  293.  
  294. 16:49 hori: How can we define few contracts(commodities) or Forex(let's say 50,000) small lot in strategies
  295.  
  296. 16:49 Mobius©: hori - yes you can define trade lots in the strategy as well as the global settings box
  297.  
  298. 16:49 Cindy Faber TOS: hori - no need to add trade size to the ThinkScript code (you can, but no need to)
  299. ... easier way to change trade size for your Strategy is to open the Edit Studies box and click on lower left Global Strategy and type in number of shares or contracts
  300.  
  301.  
  302. 16:49 hori: Thanks Cindy
  303.  
  304. 16:49 Cindy Faber TOS: Mobius types waaaaay faster than me :-)
  305.  
  306.  
  307. 16:50 hori: Thx Mobius@
  308.  
  309. 16:50 Mobius©: yw hori
  310.  
  311. 16:51 FIFOTrader: This was the best ever chat Cindy
  312.  
  313. 16:51 Cindy Faber TOS: FIFOTrader - thank you for the kind words and the feedback
  314. Next week on Wednesday evening I'll have more time to go into Back Testing (SL chat room 7p-8p CST next Wed)
  315.  
  316.  
  317. 16:52 hori: Cindy , Can you tell me when do they fix compulsive errors in OnDemand ? Hard to work on sometime or most of the time.
  318.  
  319.  
  320. 16:57 Gentle_John: Would you post the quick link to the ADX code, please.
  321.  
  322. 16:57 Cindy Faber TOS:
  323.  
  324. chart study DMI with ADX line and Alerts: http://tos.mx/5kaZG7
  325.  
  326.  
  327. 16:58 Cindy Faber TOS: hori - or anyone - send feedback and TOS platform requests to the TOS developer team
  328. Their email address is: thinkorswimFeedback@tdameritrade.com
  329.  
  330.  
  331.  
  332. 17:01 hori: Great information. However it is worth sendig email if they respond. I had send several emails never got any respond from them thinkorswimFeedback@tdameritrade.com and support@thinkorswim.com .
  333.  
  334.  
  335. 17:03 UpTheCreek: FWIW, I've always gotten an acknowledgement to emails, just not always satisfaction
  336.  
  337. 17:05 hori: If we can have a forum like others (can't use the name will be censored) where we can post questions and they(developer/tech support) can answer. we can track our question/answers. instead of sending same question from different user we can refer the answer from the forum.
  338.  
  339. 17:06 RH6194: Cindy,
  340.  
  341. 17:07 RH6194: I just returned to my computer and see a message that "archive links are coming now". I don't know when that message came through, but haven't seen any links so far.
  342.  
  343. 17:07 hori: RH here you go:
  344.  
  345. 5-21-14 Learning to Test Your Trade Ideas
  346. https://investools.webex.com/investools/lsr.php?RCID=8e8f402c27b04beb8017298a106bf2fd
  347.  
  348. 10-15-14 Putting Your Trade Ideas to the Test
  349. https://investools.webex.com/investools/lsr.php?RCID=b45117411b2341679f6323beca3de725
  350.  
  351.  
  352. 17:12 RH6194: Have the TA Chat archive links been sent yet? I don't see them in my webex chat, although a previous message says they "are coming in now?"
  353.  
  354. 17:13 RH6194: Never mind....ooming now!
  355.  
  356. 17:15 hori: RH6194 what is TA chat?
  357.  
  358. 17:19 hori: Cindy, Great information. However it is worth sendig email if they respond. I had send several emails never got any respond from them thinkorswimFeedback@tdameritrade.com and support@thinkorswim.com .
  359.  
  360. 17:22 try this: K9, see if this works to paint the past bars
  361.  
  362. plot OBV = TotalSum(Sign(close - close[1]) * volume);
  363. def Trend=Sum(OBV>OBV[1],3)>=3 ;
  364. def ttrend=if trend[-1] or trend[-2] then 1 else 0;
  365. DefineGlobalColor("U", Color.Yellow);
  366. DefineGlobalColor("N", Color.DARK_GREEN);
  367. OBV.AssignValueColor( if ttrend or Trend then GlobalColor("U") else GlobalColor("N"));
  368.  
  369. 17:55 Support:
  370.  
  371. HOLIDAY TRADING HOURS schedule is postsed on Home Screen link at top of your TOS platform
  372. (click on lower right NEXT bubble to see it)
  373.  
  374. 18:03 Harry Joe: evening all ....
  375.  
  376.  
  377. 18:06 Harry Joe: hi ... is there anyone could help me tweaking TTM Tren indicator into TTM trend anchor as John Carter did. the trend will blue color (chart H1) if its alignment with daily chart uptrend and will be gray if its not alignment with daily chart (higher tf) and vice versa ....
  378.  
  379. 18:06 Harry Joe: here's the code TTM Trend.
  380.  
  381. 18:06 Harry Joe:
  382. # TS_Trend (Modified Heikin-Ashi Trend)
  383. # (c) 2010 http://www.thinkscripter.com
  384. # All rights reserved
  385. # thinkscripter@gmail.com
  386. # Last Update 27 June 2010
  387.  
  388. defineGlobalColor("TrendUp", color.blue);
  389. defineGlobalColor("ReversalDownInsideBar", color.cyan);
  390. defineGlobalColor("TrendDown", color.dark_red);
  391. defineGlobalColor("ReversalUpInsideBar", color.red);
  392.  
  393. input insideBarFilterLength = 6;
  394. input showInsideBarAltColor = NO;
  395.  
  396. def haclose = (open + high + low + close) / 4;
  397. rec haopen = CompoundValue(1, (haopen[1] + haclose[1]) / 2, (open[1] + close[1]) / 2);
  398. def cColor = if haclose - haopen > 0 then 1 else 0;
  399.  
  400. rec color = fold index2 = 1 to insideBarFilterLength with barsBack2 = cColor do
  401. if haOpen<= max(getValue(haOpen, index2, insideBarFilterLength),getValue(haClose, index2, insideBarFilterLength))
  402. and
  403. haOpen>= min(getValue(haOpen, index2, insideBarFilterLength),getValue(haClose, index2, insideBarFilterLength))
  404. and
  405. haClose<= max(getValue(haOpen, index2, insideBarFilterLength),getValue(haClose, index2, insideBarFilterLength))
  406. and
  407. haClose>= min(getValue(haOpen, index2, insideBarFilterLength),getValue(haClose, index2, insideBarFilterLength))
  408. then getValue(color,index2,insideBarFilterLength) else barsBack2;
  409.  
  410. assignPriceColor(if showInsideBarAltColor and cColor != color then if cColor == 0 then globalColor("ReversalDownInsideBar") else globalColor("ReversalUpInsideBar") else if color then globalColor("TrendUp") else globalColor("TrendDown"));
  411.  
  412.  
  413.  
  414. 18:07 BlueBird: Does anyone here has buffer of this chatroom saved before hours 16:00 CST. I am missing this buffer when I logged in this afternoon. Appreciate help in this matter.
  415.  
  416. 18:07 Harry Joe: I got a hard time in tweaking it with higher tf.
  417.  
  418.  
  419. 18:24 VegaTrader: I do.
  420.  
  421. 18:26 VegaTrader: Bluebird - you there?
  422.  
  423. 18:36 BlueBird: Vega: I am here.
  424.  
  425. 18:37 VegaTrader: How far back in time do you need?
  426.  
  427. 18:38 BlueBird: I don't see any before 16:00 CST for today.
  428.  
  429. 18:38 VegaTrader: Do you need to whole day?
  430.  
  431. 18:38 BlueBird: Yes please if you have it.
  432.  
  433. 18:40 VegaTrader: It's so long how about if I send the file to support@thinkorswim.com with the subject to be To-BlueBird, and then you write to support asking them for the file?
  434.  
  435. 18:42 BlueBird: Can you copy and paste it in pastebin.com and send me the URL address. Other option is to save it as html file and send me the URL address.
  436.  
  437. 18:43 kenchana: Probably pastebin is easiest.
  438.  
  439. 18:43 VegaTrader: It is an html file.
  440.  
  441. 18:44 VegaTrader: What is pastebin?
  442.  
  443. 18:44 kenchana: you can dump the buffer there it seems, and you just provide a URL for people to access.
  444.  
  445. 18:45 BlueBird: Vega: Pastbin.com is free site where you can save the data and share it free. Almost everybody have used it here for this purpose. Try it if you can. You will love it yourself.
  446.  
  447. 18:46 BlueBird: Sorry it is pastebin.com
  448.  
  449. 18:46 VegaTrader: I just pasted in into pastebin, what to do next?
  450.  
  451. 18:47 VegaTrader: ... click on???
  452.  
  453. 18:49 kenchana: right at the top of the browser - you can copy the URL - that's all you need.
  454.  
  455. 18:49 VegaTrader: ..... /G7jcUyPk
  456.  
  457. 18:52 VegaTrader: did it work?
  458.  
  459. 18:52 BlueBird: Vega: I got it and opened it. It starts from 12:46. Is this correct?
  460.  
  461. 18:53 VegaTrader: yes
  462.  
  463. 18:54 BlueBird: VegA: So you don't have buffer before 12:46
  464.  
  465. 18:54 VegaTrader: I’m looking.
  466.  
  467. 18:56 VegaTrader: That’s all I have for the TS chat room.
  468.  
  469. 18:58 BlueBird: Vega: Thanks for the trouble. I appreciate very much.
  470.  
  471. 18:58 VegaTrader: Wait I found it.
  472.  
  473. 19:01 VegaTrader: I’m having trouble with this one - I thinks I’m spam
  474.  
  475. 9:03 BlueBird: Vega: Sorry to hear that. Please take care of the spam. Don't worry about the rest of it. May be someone here have it and may post it here.
  476.  
  477. 19:04 VegaTrader: will try to first paste it to a text file to get rid of the pictures.
  478.  
  479. 19:05 VegaTrader: ... /Uq6k8zRX
  480.  
  481. 19:06 Max: BlueBird - v5wbxGiC I believe this is what you are looking for.
  482.  
  483. 19:07 BlueBird: VegaTrader: Got it. Again thank you very much for your devotion to help me in this matter.
  484.  
  485. 19:07 VegaTrader: No Problem.
  486.  
  487. 19:09 VegaTrader: BB - it is true the paste window does not accept pictures?
  488.  
  489. 19:11 kenchana: can anyone help? I am missing buffer from 16:55 ET - 17:25 ET today
  490.  
  491. 19:11 BlueBird: VegaTrader: I did not know that. I learned that today from your exercise. I hope it did not mess up your computer and hopefully, you don't have spam anymore.
  492.  
  493. 19:13 BlueBird: kenchana: please see posting of VegaTrader above. It has all the buffer you need.
  494.  
  495. 19:13 kenchana: I looked - it does not contain the missing pieces.
  496.  
  497. 19:13 VegaTrader: no its ok - I just copied and pasted from my open html file that opened in a browser window.
  498.  
  499. 19:14 VegaTrader: I’m reading about pastebin at ... wiki
  500.  
  501. 19:14 kenchana: if someone can help that will be nice. Otherwise I’ll live wif it.
  502.  
  503. 19:15 VegaTrader: Need a similar thing for the whole file then the file would have the pictures.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement