NexusFi: Find Your Edge


Home Menu

 





Vervoort Crossover - ThinkorSwim


Discussion in ThinkOrSwim

Updated
    1. trending_up 8,089 views
    2. thumb_up 3 thanks given
    3. group 6 followers
    1. forum 7 posts
    2. attach_file 3 attachments




 
Search this Thread

Vervoort Crossover - ThinkorSwim

  #1 (permalink)
 trendfriendpa 
philadelphia USA
 
Experience: Intermediate
Platform: TOS, Webull, Ninja 8
Broker: TD Ameritrade
Trading: options, ES/NQ futures, stocks
Posts: 79 since May 2011
Thanks Given: 54
Thanks Received: 53

I was asked for this code after posting a reply to a CCI indicator thread.

This is the Vervoort Crossover which has arrows (red and green) when the lines crossover. If you recall the Vervoort Crossover uses TEMA.

The alert feature is changeable within the study properties from yes (pop-up window and sound alert) or no. This does not affect the arrows appearing on the chart.

Attached is the .ts file as well as a .txt for those who wish to look at the code before importing.

The thanks for the modified coding goes to Richard Houser, TOS_thinkscript yahoo group.

Yes, this is a plug for those who do no know of this group. Great group of traders willing to help each other.

Attached Thumbnails
Click image for larger version

Name:	Tf emini Russell - 8-20-12 - 2pm to 4 pm - Vervoort Channel Crossover.jpg
Views:	557
Size:	292.9 KB
ID:	85845  
Attached Files
Elite Membership required to download: Vervoort_Channel_V2.ts
Elite Membership required to download: VervoortCrossover.txt
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
How to apply profiles
Traders Hideout
Quant vue
Trading Reviews and Vendors
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #2 (permalink)
 
DougN's Avatar
 DougN 
Scottsdale, Arizona, USA and Puerto Penasco, Mx
 
Experience: Intermediate
Platform: Ninja 7, TOS
Trading: YM, ES, GC, CL
Posts: 42 since Nov 2013
Thanks Given: 35
Thanks Received: 33

Can anyone please answer if this Vervoort study can be installed into StockHacker Thinkorswim to be used to scan my watchlists?
Thanks!

("Exactly One Plot Expected" is the message that stops the install.)

Follow me on Twitter Reply With Quote
  #3 (permalink)
 
DougN's Avatar
 DougN 
Scottsdale, Arizona, USA and Puerto Penasco, Mx
 
Experience: Intermediate
Platform: Ninja 7, TOS
Trading: YM, ES, GC, CL
Posts: 42 since Nov 2013
Thanks Given: 35
Thanks Received: 33


Solved the problem and if anyone needs it, let me know. Thx

Follow me on Twitter Reply With Quote
  #4 (permalink)
reachbjm
Newark+NJ/US
 
Posts: 3 since Feb 2018
Thanks Given: 0
Thanks Received: 1


DougN View Post
Solved the problem and if anyone needs it, let me know. Thx

Hi Doug: Could you please send me a copy of this scan that you built. Thank you.

Regards
BJM

Reply With Quote
Thanked by:
  #5 (permalink)
 
DougN's Avatar
 DougN 
Scottsdale, Arizona, USA and Puerto Penasco, Mx
 
Experience: Intermediate
Platform: Ninja 7, TOS
Trading: YM, ES, GC, CL
Posts: 42 since Nov 2013
Thanks Given: 35
Thanks Received: 33

Here is the script for a watchlist column...I have to search around for the scan but will post it when I locate it.

# VervoortCrossover
# (c) 2009 https://www.thinkscripter.com
# [email protected]
# Last Update 30 MAR 2009
# Tweaked by R Houseer August 2012
# RH_Vervoort_Channel_V2
# Buy scan - RH_Vervoort_Channel_V2().signalBuy #buy scan
# Sell scan - RH_Vervoort_Channel_V2().signalSell # sell scan
# Scan both - RH_Vervoort_Channel_V2().signalBuy or RH_Vervoort_Channel_V2().signalSell #scan for either
# Alerts added - option added to be turned on and off

input period = 55;
input alertsOn = yes;

def price = (high+low+close)/3;

#-----Typical Price ZeroLag Triple Exponential Moving Average

def TMA1 = 3 * ExpAverage(price, period)
- 3 * ExpAverage(ExpAverage(price, period), period)
+ ExpAverage(ExpAverage(ExpAverage(price, period)
, period), period);

def TMA2 = 3 * ExpAverage(TMA1, period)
- 3 * ExpAverage(ExpAverage(TMA1, period), period)
+ ExpAverage(ExpAverage(ExpAverage(TMA1, period)
, period), period);

def difference = TMA1 - TMA2;
def TypicalPriceZeroLagTEMA = TMA1 + difference;

#------Heikin-Ashi Close ZeroLag Triple Exponential Moving Average

rec haopen = compoundValue(1, ((open[1] + high[1]
+ low[1] + close[1]) / 4 + haopen[1]) / 2, hl2);
def haclose = ((open + high + low + close) / 4 + haopen
+ Max(high, haopen) + Min(low, haopen)) / 4;

def HATMA1 = 3 * ExpAverage(haclose, period)
- 3 * ExpAverage(ExpAverage(haclose, period), period)
+ ExpAverage(ExpAverage(ExpAverage(haclose, period)
, period), period);

def HATMA2 = 3 * ExpAverage(HATMA1, period)
- 3 * ExpAverage(ExpAverage(HATMA1, period), period)
+ ExpAverage(ExpAverage(ExpAverage(HATMA1, period)
, period), period);

def HAdifference = HATMA1 - HATMA2;

def HeikinAshiZeroLagTEMA = HATMA1 + HAdifference;

def buySignal = if TypicalPriceZeroLagTEMA > HeikinAshiZeroLagTEMA and TypicalPriceZeroLagTEMA[1] <= HeikinAshiZeroLagTEMA[1] then 1 else 0;

def sellSignal = if TypicalPriceZeroLagTEMA < HeikinAshiZeroLagTEMA and TypicalPriceZeroLagTEMA[1] >= HeikinAshiZeroLagTEMA[1] then 1 else 0;

def signalBuy = if buySignal then TypicalPriceZeroLagTEMA * 0.999 else double.nan;

def signalSell = if sellSignal then TypicalPriceZeroLagTEMA * 1.0015 else double.nan;

# coding addition by @DTWCoachandDude on Twitter
# https://www.stocktwits.com:443/DTWCoachandDude/
# https://www.facebook.com/DTWCoachandDude/
# https://www.twitter.com/DTWCoachandDude/

plot SignalPlot =
if buySignal
then TypicalPriceZeroLagTEMA * 0.999
else if sellSignal
then TypicalPriceZeroLagTEMA * 1.0015
else double.nan;
SignalPlot.assignvalueColor(
if buySignal
then color. black
else if sellSignal
then color. black
else color. black);

assignbackgroundColor(
if buySignal
then color. green
else if sellSignal
then color. red
else color. black);

Follow me on Twitter Reply With Quote
  #6 (permalink)
reachbjm
Newark+NJ/US
 
Posts: 3 since Feb 2018
Thanks Given: 0
Thanks Received: 1


DougN View Post
Here is the script for a watchlist column...I have to search around for the scan but will post it when I locate it.

Thanks much, Doug!

regards
BJM

Reply With Quote
  #7 (permalink)
 
DougN's Avatar
 DougN 
Scottsdale, Arizona, USA and Puerto Penasco, Mx
 
Experience: Intermediate
Platform: Ninja 7, TOS
Trading: YM, ES, GC, CL
Posts: 42 since Nov 2013
Thanks Given: 35
Thanks Received: 33

Im sorry but I have lost the script for scan.

Follow me on Twitter Reply With Quote
  #8 (permalink)
reachbjm
Newark+NJ/US
 
Posts: 3 since Feb 2018
Thanks Given: 0
Thanks Received: 1


DougN View Post
Im sorry but I have lost the script for scan.

Thanks for looking! Appreciate it!

Reply With Quote




Last Updated on April 28, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts