(2015-07-23, 06:07 AM)CH868 Wrote: gbarbs,
How did you create the mansfielddaily and weekly indicators on thinkorswim platform ?
Not sure how familiar you are so let me know if you need more details...but you first click on the edit and studies button in the top right area.
In the bottom left of the pop up window, underneath all of the studies click on "new"
You can name the study in the very top that's where I put "Mansfield Daily". Â Then paste in the following code into thinkscript editor for the daily mansfield:
RS2.SetDefaultColor(GetColor(6));plot Data = close;
Once you do this they will show up in your list of studies on the left hand side and you can add them to the chart. Â Once you do go into the settings of the study and click on the tab that says "data". Â You want to uncheck the box so it does not plot data. Â RS2 and zeroline should have the plot box checked.
Hope this helps see screen shots if this doesn't make sense
Thanks for the TD code, how would you code this into a scanner? Would like to scan for when RS crosses the 0 line from negative to positive value?
(2015-07-23, 06:07 AM)CH868 Wrote: gbarbs,
How did you create the mansfielddaily and weekly indicators on thinkorswim platform ?
Not sure how familiar you are so let me know if you need more details...but you first click on the edit and studies button in the top right area.
In the bottom left of the pop up window, underneath all of the studies click on "new"
You can name the study in the very top that's where I put "Mansfield Daily". Â Then paste in the following code into thinkscript editor for the daily mansfield:
RS2.SetDefaultColor(GetColor(6));plot Data = close;
Once you do this they will show up in your list of studies on the left hand side and you can add them to the chart. Â Once you do go into the settings of the study and click on the tab that says "data". Â You want to uncheck the box so it does not plot data. Â RS2 and zeroline should have the plot box checked.
Hope this helps see screen shots if this doesn't make sense
Thanks for the TD code, how would you code this into a scanner? Would like to scan for when RS crosses the 0 line from negative to positive value?
I am sorry I"m not a programmer can't help with a scan but maybe a few others here that can. I can't recall where I found the code but didn't write it myself. I my have copied it from a previous post on this site.