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.

  • Welcome Guests

    Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.

Search the Community

Showing results for tags 'open'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to Traders Laboratory
    • Beginners Forum
    • General Trading
    • Traders Log
    • General Discussion
    • Announcements and Support
  • The Markets
    • Market News & Analysis
    • E-mini Futures
    • Forex
    • Futures
    • Stocks
    • Options
    • Spread Betting & CFDs
  • Technical Topics
    • Technical Analysis
    • Automated Trading
    • Coding Forum
    • Swing Trading and Position Trading
    • Market Profile
    • The Wyckoff Forum
    • Volume Spread Analysis
    • The Candlestick Corner
    • Market Internals
    • Day Trading and Scalping
    • Risk & Money Management
    • Trading Psychology
  • Trading Resources
    • Trading Indicators
    • Brokers and Data Feeds
    • Trading Products and Services
    • Tools of the Trade
    • The Marketplace
    • Commercial Content
    • Listings and Reviews
    • Trading Dictionary
    • Trading Articles

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


First Name


Last Name


Phone


City


Country


Gender


Occupation


Biography


Interests


LinkedIn


How did you find out about TradersLaboratory?


Vendor


Favorite Markets


Trading Years


Trading Platform


Broker

Found 2 results

  1. I'd like some help here, please. I have the following formula: inputs: todayStTime (830), todayEnTime (900), yesterdayStTime (1430), yesterdayEnTime (1500); variables: dayCounter (0), dayClose (0), dayOpen (0), //dayHigh (-999999), //dayLow (+999999), //prevDayHigh (0), //prevDayLow (0), //dayHigh (0), //dayLow (0), prevDayClose (0), prevDayOpen (0), prevClCounter (0), prevTradeDay (false), todayTradeDay (false); // confirms the beginning of the day with true/false conditions if date <> date[1] then begin prevTradeDay = true; todayTradeDay = false; dayCounter = dayCounter + 1; end; // resets the new day to give the previous day open time interval if prevTradeDay then begin if time = yesterdayStTime then begin prevTradeDay = false; prevDayOpen = Open; end; end; // resets the new day to give today's open time interval if todayTradeDay = false then begin if time >= todayStTime then begin todayTradeDay = true; dayOpen = Open; end; end; // resets the new day to give the previous day close time interval if prevTradeDay then begin if time = yesterdayEnTime then begin prevTradeDay = false; prevDayClose = close; end; end; // resets the new day to give today's close time interval if todayTradeDay = false then begin if time = todayEnTime then begin todayTradeDay = true; dayClose = close; end; end; plot1(DayOpen); //plot2(dayClose); plot13(prevDayOpen); //plot14(prevDayClose); I want to plot yesterday's open and close prices based on the time interval selected in the input and also, today's open and close prices also, based on the time interval selected in the input. As it is, plots today's open and yesterday open prices, but If I also plot today's and yesterday's close prices, these will be zero, though, if I remove the statements regarding the opening prices, the close prices will be correctly plotted. What am I doing wrong? Please see attached images. Thank you.
  2. Is anyone familiar enough with some of the features of the TWS API from Interactive Brokers ? Here's what I'm trying to do: 1) From a list of 1100 stocks, at the OPEN at 9:30am EDT, determine which from this group have GAPPED (open > previous high). It doesn't sound difficult, but it's tough to do with a DDE quote link....too many symbols....it would hang at the open ! 2) What I need is a customized SCANNER that runs at 9:30 am and then merges the GAP list in the universe of stocks to those in the group of 1100. IBI's current scanner does not permit custom scans...only their presets are supported. I looked at Yahoo's scanner, but it's Java-based. I need the raw API so I can do this within Excel. I know Tradestation's Radarscreen can do this, but we can't run that platform. Sheesh....this sounds so SIMPLE....am I missing something ? Any ideas greatly appreciated !
×
×
  • Create New...

Important Information

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