| Trading Indicators Post your custom trading indicators. If you download, remember to click INSTALL. |
![]() | | Tweet | |
Vertical Lines at Specified Time Details »» | |||||||||||||||||||||||||||
// Vertical Lines at specified time // author: aaa // date: 20090516 // // to see how the market reacts everydays specially Cash Opening and NY Opening or whatever you want // holding the mouse at the end of a lines shows intraday price High Low difference Please, feel free to correct my code if needed ![]() Download Now
Screenshots Show Your Support
| |||||||||||||||||||||||||||
| ∧ Similar Indicator | ||||
| Mod | Developer | Type | Replies | Last Post |
| Tick Time Box | walterw | Trading Indicators | 6 | 02:06 PM 06-01-2009 |
| PBF Squeeze Replica For Tradestation | Futurestrader | Trading Indicators | 67 | 07:46 PM 10-21-2010 |
| How to Draw a Tape | Tams | Trading Indicators | 5 | 02:26 PM 07-29-2009 |
| ATR Marker | Tams | Trading Indicators | 7 | 12:24 PM 10-14-2009 |
| Programmer's Data Box | Tams | Trading Indicators | 0 | 09:04 AM 03-28-2009 |
| Tidal Wave | Tams | Trading Indicators | 7 | 07:49 AM 11-05-2009 |
| Paint the Town Red | Tams | Trading Indicators | 3 | 02:03 PM 04-18-2009 |
| Candle pattern | Tams | Trading Indicators | 9 | 04:36 PM 10-08-2010 |
| Masthead | Tams | Trading Indicators | 0 | 01:41 PM 04-16-2009 |
| Bottomline | Tams | Trading Indicators | 10 | 08:34 PM 04-19-2009 |
| The Following 2 Users Say Thank You to aaa For This Useful Post: | ||
Tams (05-19-2009) | ||
| Comments |
| | #2 | ||
![]() | Re: Vertical Lines at Specified Time Very structured code! Let's examine it a bit... If you click on the trendline and drag it to one side, you will see another trendline sitting where it was before. If you click on that trendline and drag it to one side, you will see yet another trendline sitting there. The reason being this section of the code: if PlotOpenCash <> 0 and time >= OpenCash then MC will evaluate this condition time >= OpenCash at every bar. If this condition is TRUE, MC will draw a trendline at "OpenCash". At the next bar, MC will evaluate this condition again. If the condition is true, it will draw another trendline (at the same place). MC will draw a new trendline, again and again, at the same place, until end of the day. Although the duplicated trendlines do not affect the chart, it will consume precious CPU power. If you have a few indicators opened, it will slow down your computer. To fix the problem, all you have to do is take the multiple condition away: if PlotOpenCash <> 0 and time = OpenCash then you can do the same with OpenNewYork. Last edited by Tams; 05-16-2009 at 10:31 PM. | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
aaa (05-17-2009) | ||
| | #3 | ||
![]() | Re: Vertical Lines at Specified Time Tams, you have Xray eyes only > makes the difference from a wrong code to a correct code. ThanX for the pedagogic explanation | ||
| |
|
| | #4 | ||
![]() | Re: Vertical Lines at Specified Time Quote:
The most I've learned comes from this forum And this indicator was possible only with your gentle and clever support | ||
| |
|
| The Following User Says Thank You to aaa For This Useful Post: | ||
Tams (05-17-2009) | ||
| | #5 | ||
![]() | Re: Vertical Lines at Specified Time Code: //-----------------------------------------------------
inputs:
//----------------------------------------------------
PlotOpenCash( 1 ),
PlotOpenNewYork( 1 ), I prefer to use PlotOpenCash( True ), PlotOpenNewYork( True ), I found True/False is more intuitive at the Format Study window. plus, in EasyLanguage, if PlotOpenCash = true then... can be written as if PlotOpenCash then... 1. "True" is implied. 2. the code looks cleaner without so many equal signs. just a personal preference... makes no difference to the effectiveness of the code. | ||
| |
|
| The Following User Says Thank You to Tams For This Useful Post: | ||
aaa (05-18-2009) | ||
| | #6 | ||
![]() | Re: Vertical Lines at Specified Time I agree with you ; Programing is an art. Because I'm a lazy animal.. ...I write down 0/1 oftenly in the format window instead of true/False wich is more source of faults. | ||
| |
|
| | #7 | ||
![]() | Re: Vertical Lines at Specified Time // author: aaa // Version 0.1 // date: 20090516 // // date: 20090523 // Version 0.2 // Code cleaned by Tams // to see how the market reacts everydays specially Cash Opening and NY Opening or whatever you want // holding the mouse at the end of a lines shows intraday price High Low difference | ||
| |
|
| The Following 2 Users Say Thank You to aaa For This Useful Post: | ||
simterann22 (07-07-2009), Tams (09-01-2009) | ||
![]() |
| Tags |
| easylanguage, trendline |
| Thread Tools | |
| Help Others By Rating This Thread | |
| |
| ∧ Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Create an ELD to Plot Vertical Lines or Arrows at Price. | forrestang | Coding Forum | 16 | 05-19-2009 09:55 AM |
| Vertical Lines at Specified Time | aaa | Coding Forum | 1 | 05-16-2009 05:06 PM |
| TradeStation Custom Time Lines -variation to Fibo Cycle Tool (help Required) | sneo | Coding Forum | 0 | 05-04-2009 04:40 AM |
| TPO Lines for OEC | Trendup_ | Open E Cry | 2 | 03-14-2009 09:12 PM |
| Value Area Lines | conr | Technical Analysis | 2 | 01-07-2008 11:23 AM |