Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Wallan1

Members
  • Content Count

    5
  • Joined

  • Last visited

Personal Information

  • First Name
    TradersLaboratory.com
  • Last Name
    User
  • City
    Weatherford
  • Country
    United States
  • Gender
    Male

Trading Information

  • Vendor
    No
  • Trading Years
    since '87
  1. Thanks for the RubberBand Indicator, looks like it may have some good possibilities for me, a scalper at heart. I took the liberty of making some changes that helped me apply it to my scalping needs. I added: 1. ColorChange Option a. Option 1 is just with slope b. Option 2 is slope plus using the MultiLow & MultiHigh plots as a trigger point 2. Scalability, so I could insert it in to a subgraph with other indicators 3. OverBought/OverSold line option 4. Inputs defaulted to use on my ES, 610 share bar chart It appears the stronger moves originate when the Osc breaks below OB for a short and confirmed when the Osc breaks below MultiHigh and above OS amd abpve MultiLow for a long. Using other indicators as a directional filter, this indicator spots most every move. Thanks again for the RubberBand!! Code Below: [LegacyColorValue = true]; Input: LongLeg (89), ShortLeg (55), MultiLeg (89), MultiW (0.55), Scale (1000), ColorChange (2 {1= Slope; 2= Slope+MultiH/L}), UpColor (Blue), UpCaution (Cyan), DnColor (Red), DnCaution (Magenta), DispOb_OS (TRUE), OB_OS (50); Var: SyncShort (0), SyncLong (0), SyncMulti (0); Var: TempSyncS (0), TempSyncL (0), TempSyncM (0), MultiOsc (0); Var: LongWeight (0), ShortWeight (0), MultiWeight (0), MultiHigh (0), MultiLow (0); //Var: // DateLock(980116); ShortWeight = 2/(ShortLeg + 1); LongWeight = 2/(LongLeg + 1); If TempSyncS = 0 Then Begin SyncShort = Close; SyncLong = Close; End Else Begin SyncShort = TempSyncS * (1 - ShortWeight) + (ShortWeight * Close); SyncLong = TempSyncL * (1 - LongWeight) + (LongWeight * Close); End; TempSyncS = SyncShort; TempSyncL = SyncLong; MultiOsc = (100 * ( (SyncShort / SyncLong) - 1) ); //**** Display ******************************************************************************* Plot1(MultiOsc *Scale, "MO"); MultiWeight = 2/(MultiLeg + 1); If TempSyncM = 0 Then SyncMulti = MultiOsc Else SyncMulti = (AbsValue(TempSyncM) * (1 - MultiWeight)) + (MultiWeight * MultiOsc); TempSyncM = SyncMulti; MultiHigh = SyncMulti * MultiW; MultiLow = -1 * MultiHigh; Plot2 (MultiHigh *Scale,"MH"); Plot3 (MultiLow *Scale,"ML"); Print ("MO:", MultiOsc, " MH: ", MultiHigh, " ML: ", MultiLow); If DispOB_OS = TRUE Then Begin Plot4 (OB_OS, "OverBought"); Plot5 (OB_OS * -1, "OverSold"); End; //**** Color Criteria ************************************************************************** If ColorChange = 1 Then Begin If MultiOsc > MultiOsc[1] then SetPlotColor (1, UpColor); If MultiOsc < MultiOsc[1] Then SetPlotColor (1, DnColor); End; If ColorChange = 2 Then Begin If MultiOsc > MultiOsc[1] AND MultiOsc < MultiLow Then SetPlotColor (1, UpCaution); If MultiOsc > MultiOsc[1] AND MultiOsc > MultiLow Then SetPlotColor (1, UpColor); If MultiOsc < MultiOsc[1] And MultiOsc < MultiHigh Then SetPlotColor (1, DnColor); If MultiOsc < MultiOsc[1] AND MultiOsc > MultiHigh Then SetPlotColor (1, DnCaution); End;
  2. Thanks for your suggestion; for this chart combination, I believe it would make the indicator easer to use for the novice trader. It looks like you are using the indicator in a sub-graph by it's self. I use it in the same sub-graph as the data-bars. For me this helps me see the momentum indicated by the cycle plot. One clue this combination produces is: in a long run up the cycle peaks will stay well above the trend plot and price as the cycle peaks get lower the momentum is slowing and a reversal is getting near. For me, trading is all about choices. Restricting the price input to three choices is a non-starter for me, as it removes the ability to tune the indicator. By placing the function in the "Price Input", I can use different function inputs for different chart setups; plus I can also use different functions from time to time in the :Price Input". My intention is to make indicators more adjustable, rather than rigid and restricted to a single use. Good trading to ALL !!
  3. Please accept my sincere apology, I did not intend for the function to be password protected. I will attach the non password protected "ELD" for both the indicator and function and Below is the code for the function: { **************************************************************************** $b_T3A.s (Function) Code Provided By: Bob Fulks, Last Edit: 12/16/97 Mods By: Bill Allan, 6/5/98 .............................................................................. Description : This function is an EasyLanguage version of the moving average described in the January. 1998 issue of TASC, p57, "Smoothing Techniques for More Accurate Signals", by Tim Tillson. It is translated from the MetaStock code presented in the article and recoded for efficiency. The variable, "Hot", is a damping coefficient which is set to the suggested default value of 0.7. The variable "b" is substituted for the variable, "a" used in the article since "a" is a reserved word. The variables e1 through e6 calculate the exponential moving averages in-line rather than calling other functions. The resulting indicator plotting this function appears to duplicate the results shown in Figure 4 of the article. The series version of this function uses previous values and, hence, cannot call variables. *****************************************************************************} Inputs: Price (NumericSeries), Periods (NumericSimple {Input need not be an integer}) Constant (NumericSimple {(0.70}) ; //................................................................... Variables: b (0), b2 (0), b3 (0), e1 (Price), e2 (Price), e3 (Price), e4 (Price), e5 (Price), e6 (Price), c1 (0), c2 (0), c3 (0), c4 (0), f1 (0), f2 (0), Hot (Constant); //....................................................................... If Periods + 1 <> 0 Then Begin If CurrentBar <= 1 Then Begin b = Hot; b2 = b * b; b3 = b * b * b; c1 = -b3; c2 = 3 * b2 + 3 * b3; c3 = -6 * b2 - 3 * b - 3 * b3; c4 = 1 + 3 * b + b3 + 3 * b2; f1 = 2 / (Periods + 1); f2 = 1 - f1; END ELSE Begin e1 = f1 * Price + f2 * e1[1]; e2 = f1 * e1 + f2 * e2[1]; e3 = f1 * e2 + f2 * e3[1]; e4 = f1 * e3 + f2 * e4[1]; e5 = f1 * e4 + f2 * e5[1]; e6 = f1 * e5 + f2 * e6[1]; END; $b_T3A.s = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3; END; $B_T3A.S.ELD INSTANTANEOUS TL.ELD
  4. As per your request, my tweaked code for your “Instantaneous Trend Line”, wherein I added : 1. Separate Price Inputs for the” Trend” and “Cycle”, which provides the ability to enhance the “Cycle’s” action vs. the” Trend”; 2. ColorChange options for the “Trend”; and 3. ColorChange for the “Cycle’s” change in Slope. I am a short-term swing trader looking to make 3 – 10 ES ticks ( with my target based on the 3-day average range) on a swing in Trend. I trade the following TradeStation, multi-timeframe, range bar charts: 1. Fast: RangeBar-610 Tick; 2. Intermediate: RangeBar-1830 Tick; and 3. Slow: RangeBar-3660 Tick Inputs: TL_Price: 1, 2, and 3 = (H+L+C+C) /4 Cycle_Price: 1. (Function) $b_T3A.s(H+L+C+C) /4, 5, 2.3); 2. (Function) $b_T3A.s(H+L+C+C) /4, 5, 2.9); and 3. (Function) $b_T3A.s(H+L+C+C) /4, 3, 2.3). ColorChange: 1, 2, and 3 = 2 : UpColor: 1, 2, and 3 = RGB(116, 133, 252); and DnColor: 1, 2, and 3 = RGB(255, 119, 119). Good Trading! INSTANTANEOUS TL.ELD
  5. Hello Jack: Thanks for your “Instantaneous TrendLine” post. It is a very useful trading tool. Your indicator is similar to another version of Ehlers indicator, I have been using for several years. l have added a couple of tweaks, which has made it quite profitable for me. I trade multiple time frame range charts. If you have interest, I will be glad to share the modified code and chart setup with you. Thanks again for your code, it is greatly appreciated! Best regards and good trading, my friend, Wallan1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.