NexusFi: Find Your Edge


Home Menu

 





Help coding a simple TOS indicator from Mark Helweg webinar


Discussion in ThinkOrSwim

Updated
    1. trending_up 2,419 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread

Help coding a simple TOS indicator from Mark Helweg webinar

  #1 (permalink)
 smartguy 
ohio
 
Experience: Intermediate
Platform: tradestation
Trading: es
Posts: 30 since Feb 2010
Thanks Given: 28
Thanks Received: 9

I recently watched a webinar from Mark Helweg at 3xOptions called the Monday Method. It's basic premise is that Monday is a pivotal day due to markets being closed over the weekend, placing added significance on the open Monday. It is an option strategy that trades the expiration week entering straight puts or calls during the week and exiting on the close Friday of expiration. The strategy also is automatic and does not rely on market direction. It is basically a bracket trade. The system is not fully disclosed and is offered as an advisory service. Although the rules were not disclosed, it appears that an ATR is added and subtracted from the open Monday (i.e. Mon open price +/- ATR). I assume they use a 5 day period for the ATR calculation but I don't know for sure. You buy a call or put using an "activation order" when the underlying stock price crosses through the open +/- ATR price and exit on the close Friday. It is possible to trigger both ways meaning buy a put, exit the put and buy a call all in the expiration week. The premise is that institutions entering or exiting positions must do so over a number of days due to their position size and the Monday open typically indicates likely direction when price goes through the ATR and the move is usually significant. They have a track record showing extremely good results. This is what i am looking for-

I need help coding a TOS indicator that does the following.
Draw a line on the chart showing the Monday open price +/- an ATR amount (would be best that the period amount can be a variable amount). Probably best if the line colors can be changed also. The line needs to stay on the chart for an entire week. It would also be good if additional "target amounts" could be drawn on the chart also in the form of additional ATR unit amounts (i.e. 2x ATR, 3x ATR). This should be a relatively simple indicator to code. It is important that it calculates based on the Monday open price +/- ATR. Any help with this would be greatly appreciated and I would suggest you try to catch the webinar- It looks like a very promising strategy. Here is a link to the current signup page for the webinar.
 
Code
https://threexoptions.lpages.co/3x-190501-wall-street-secret-research-3xoptions/

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
Better Renko Gaps
The Elite Circle
What broker to use for trading palladium futures
Commodities
 
  #2 (permalink)
 kjhosken 
Seattle, WA/USA
 
Experience: Intermediate
Platform: TOS, TS
Trading: Forex, crude
Posts: 96 since Sep 2016
Thanks Given: 7
Thanks Received: 35

You may have already gotten what you need or moved on, but here's something to work with

 
Code
                      
input length = 5;
input averageType = AverageType.WILDERS;
input timeframe = AggregationPeriod.week;
input showtodayonly = yes;
def h = high(period = timeframe)[1];
def l = low(period = timeframe)[1];
def c = close(period = timeframe)[1];
def ATR = MovingAverage(averageType, TrueRange(h, c, l), length);
input levelUp_1 = 100;
input levelUp_2 = 50;
input levelUp_3 = 25;
input levelDn_1 = 100;
input levelDn_2 = 50;
input levelDn_3 = 25;
def o = open(period = timeframe);
rec weeklyopen =  if IsNaN(close[-1]) then o[1] else double.nan;
plot open = weeklyopen;
open.setdefaultColor(color.cyan);
open.setstyle(curve.short_DASH);
rec levelUp1 = if IsNaN(close[-1]) then levelUp1[1] else ((levelUp_1 / 100) * ATR) + o;
plot l1up = if !IsNaN(close) then Double.NaN else levelUp1;
l1up.SetDefaultColor(GetColor(3));
l1up.SetStyle(Curve.MEDIUM_DASH);

rec levelUp2 = if IsNaN(close[-1]) then levelUp2[1] else ((levelUp_2 / 100) * ATR) + o;
plot l2up = if !IsNaN(close) then Double.NaN else levelUp2;
l2up.SetDefaultColor(GetColor(4));
l2up.SetStyle(Curve.MEDIUM_DASH);

rec levelUp3 = if IsNaN(close[-1]) then levelUp3[1] else ((levelUp_3 / 100) * ATR) + o;
plot l3up = if !IsNaN(close) then Double.NaN else levelUp3;
l3up.SetDefaultColor(GetColor(5));
l3up.SetStyle(Curve.MEDIUM_DASH);

rec levelDn1 = if IsNaN(close[-1]) then levelDn1[1] else o - ((levelDn_1 / 100) * ATR);
plot l1Dn = if !IsNaN(close) then Double.NaN else levelDn1;
l1Dn.SetDefaultColor(GetColor(3));
l1Dn.SetStyle(Curve.MEDIUM_DASH);

rec levelDn2 = if IsNaN(close[-1]) then levelDn2[1] else o - ((levelDn_2 / 100) * ATR);
plot l2Dn = if !IsNaN(close) then Double.NaN else levelDn2;
l2Dn.SetDefaultColor(GetColor(4));
l2Dn.SetStyle(Curve.MEDIUM_DASH);

rec levelDn3 = if IsNaN(close[-1]) then levelDn3[1] else o - ((levelDn_3 / 100) * ATR);
plot l3Dn = if !IsNaN(close) then Double.NaN else levelDn3;
l3Dn.SetDefaultColor(GetColor(5));
l3Dn.SetStyle(Curve.MEDIUM_DASH);

Follow me on Twitter Reply With Quote
  #3 (permalink)
 
lukeskywalker1's Avatar
 lukeskywalker1 
Los Angeles (CA)
 
Experience: Master
Platform: ThinkOrSwim
Trading: Currency Future, Stocks
Posts: 34 since Apr 2019
Thanks Given: 1
Thanks Received: 40



smartguy View Post
I recently watched a webinar from Mark Helweg at 3xOptions called the Monday Method. It's basic premise is that Monday is a pivotal day due to markets being closed over the weekend, placing added significance on the open Monday. It is an option strategy that trades the expiration week entering straight puts or calls during the week and exiting on the close Friday of expiration. The strategy also is automatic and does not rely on market direction. It is basically a bracket trade. The system is not fully disclosed and is offered as an advisory service. Although the rules were not disclosed, it appears that an ATR is added and subtracted from the open Monday (i.e. Mon open price +/- ATR). I assume they use a 5 day period for the ATR calculation but I don't know for sure. You buy a call or put using an "activation order" when the underlying stock price crosses through the open +/- ATR price and exit on the close Friday. It is possible to trigger both ways meaning buy a put, exit the put and buy a call all in the expiration week. The premise is that institutions entering or exiting positions must do so over a number of days due to their position size and the Monday open typically indicates likely direction when price goes through the ATR and the move is usually significant. They have a track record showing extremely good results. This is what i am looking for-

I need help coding a TOS indicator that does the following.
Draw a line on the chart showing the Monday open price +/- an ATR amount (would be best that the period amount can be a variable amount). Probably best if the line colors can be changed also. The line needs to stay on the chart for an entire week. It would also be good if additional "target amounts" could be drawn on the chart also in the form of additional ATR unit amounts (i.e. 2x ATR, 3x ATR). This should be a relatively simple indicator to code. It is important that it calculates based on the Monday open price +/- ATR. Any help with this would be greatly appreciated and I would suggest you try to catch the webinar- It looks like a very promising strategy. Here is a link to the current signup page for the webinar.
 
Code
https://threexoptions.lpages.co/3x-190501-wall-street-secret-research-3xoptions/

Hi mate.

Draw a line on the chart showing the Monday open price +/- an ATR amount - no problem

Probably best if the line colors can be changed also.
no problem

It would also be good if additional "target amounts" could be drawn on the chart also in the form of additional ATR unit amounts (i.e. 2x ATR, 3x ATR).
no problem

Can u text me PM to discuss detail ?

Visit my NexusFi Trade Journal Reply With Quote




Last Updated on April 29, 2020


© 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