Re: Fun with ThinkScript July 09, 2015 01:32PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 09, 2015 03:45PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 09, 2015 05:06PM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 09, 2015 07:44PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 10, 2015 06:17AM |
Registered: 10 years ago Posts: 615 |
Quote
Anky7544
Hi Robert,
Can you help me to create indicator for TOS version? below is indicator for esignal system. I don't know how to convert to TOS script. Thanks in advance!
---------------------------------------------------------------------------------------------------------------------------------------------------------
Description:
T3 Average
Re: Fun with ThinkScript July 10, 2015 09:07AM |
Registered: 9 years ago Posts: 31 |
Re: Fun with ThinkScript July 10, 2015 04:21PM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 10, 2015 10:38PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 10, 2015 11:06PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 11, 2015 08:11AM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 11, 2015 08:21AM |
Registered: 8 years ago Posts: 26 |
Re: Fun with ThinkScript July 11, 2015 10:58AM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 11, 2015 03:39PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 11, 2015 03:44PM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 11, 2015 04:15PM |
Registered: 8 years ago Posts: 161 |
Re: Fun with ThinkScript July 11, 2015 06:24PM |
Registered: 8 years ago Posts: 161 |
Tampman Wrote:Quote
Tampman
> Howo3579 - thanks for helping with this... Also,
> just an FYI that the System still not working very
> predictably even on a 4hr chart... still
> changes..even after 4hr confirmation.... so not
> sure what else to do... . Would be curious to
> hear your experience so far... Thanks...
declare lower; input avg1= 2; input mysize = 3; input which1=open; input which2=close; def biggest = average((which1-which2),avg1); plot Above = biggest >= mysize; ABOVE.SetDefaultColor(Color.uptick); ABOVE.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP); plot zeroline = 0;Couple of notes. The above is written to find red candles. I don't trade emini (/es) like you do but I notice from this code pretty consistently that certain hours produce good sized blue candles (or red, depending on how you set it up) of >= "mysize". Not always, but enough to satisfy me if I traded emini. If you change input from chart screen to make:
Re: Fun with ThinkScript July 11, 2015 09:40PM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 12, 2015 03:35AM |
Registered: 8 years ago Posts: 161 |
def cover = if triggerdown then 0 else if C < 2 then cover[2] else 1;
It moved things around but I want to see what it looks like real-time. If that doesn't cure it, I'll look to stripping "C" level out into separate code.
Re: Fun with ThinkScript July 12, 2015 08:18AM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 12, 2015 12:22PM |
Registered: 8 years ago Posts: 161 |
Center of Gravity July 14, 2015 05:53PM |
Registered: 10 years ago Posts: 75 |
Re: Fun with ThinkScript July 15, 2015 05:52AM |
Registered: 8 years ago Posts: 161 |
input length = -50;So that allows us to change length at will from the chart screen (right-click on plot, EDIT STUDY). I backed it off to "-10" and got more and better signals. Looks like this:
Re: Fun with ThinkScript July 15, 2015 06:55AM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 15, 2015 08:32AM |
Registered: 12 years ago Posts: 321 |
Re: Fun with ThinkScript July 15, 2015 10:52AM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 15, 2015 12:08PM |
Registered: 8 years ago Posts: 161 |
Thanks, mtut. Bad news is as valuable as good news, eh? Howwevvah, I did try it early this morn on a 10-min chart. One success proves nothing but it was very distinctive. So I'm going to keep at it. I do see what you and optiontrader101 mean about re-painting and morphing but I'm trading at the open of that first candle immediately after the signal. If need be, I'll stay 'til reversal. Hmm, but you seem strong in your opinion so I better be careful. Thanks again.Quote
mtut Wrote:
-------------------------------------------------------
> I say don't walk but run hard from this. The
> redrawing can morph the chart into something
> completely different than what it currently
> displays. Test my words by taking some screenshots
> and compare them a few days later.
Re: Fun with ThinkScript July 15, 2015 06:47PM |
Registered: 8 years ago Posts: 61 |
Re: Fun with ThinkScript July 15, 2015 06:51PM |
Registered: 9 years ago Posts: 53 |
Re: Fun with ThinkScript July 16, 2015 12:45AM |
Registered: 10 years ago Posts: 615 |
Re: Fun with ThinkScript July 16, 2015 12:53AM |
Registered: 10 years ago Posts: 615 |
Quote
squillyd
Hello All,
I wasn't sure were else to go for help but I'm trying to re-create what is going on in the image below:
This is where I’m at now. I’m trying to place the 2nd Order Pivots on Chart. For example, it is supposed to compare 1st order pivot points at barnumber 229 (pH1[229]) to see if it is greater than equal to barnumber 224 and also barnumber 235. This check would return false. The next comparison would be pH1[224] being greater than equal to barnumber 222 and 229 to return true and add a bubble chart showing the value of the underlying.
I’m not sure how to increment through the code while providing the previous and post position (bar) values to calculate the new high position (2nd order pivot). It this is possible, how do I automate it - make it work across the entire chart with out me having to input each new set of bar values?