NexusFi: Find Your Edge

Home Menu


Strategy To Determine Range Of A Bar

Discussion in EasyLanguage Programming

      Top Posters
    1. looks_one Quick Summary with 1 posts (0 thanks)
    2. looks_two Bounty with 1 posts (2 thanks)
    3. looks_3 sptrader with 1 posts (2 thanks)
    4. looks_4 samuraisam83 with 1 posts (0 thanks)
    1. trending_up 1,664 views
    2. thumb_up 4 thanks given
    3. group 2 followers
    1. forum 3 posts
    2. attach_file 0 attachments

Search this Thread

Strategy To Determine Range Of A Bar

  #1 (permalink)
charlottesville, Virginia United States
Posts: 2 since Jan 2015
Thanks Given: 1
Thanks Received: 0

I am trying to write a strategy that will place a dot over a bar, only if the bar closes within the top 25% of that bar. I know this sounds like it should be a straightforward thing to do, but I can't find any posts on how to do this with TradeStation.

Thanks In Advanced

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NT7 Indicator Script Troubleshooting - Camarilla Pivots
MC PL editor upgrade
Platforms and Indicators
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
22 thanks
GFIs1 1 DAX trade per day journal
17 thanks
  #3 (permalink)
Bounty's Avatar
Hamburg, Germany
Experience: Intermediate
Platform: MultiCharts
Broker: Interactive Brokers
Trading: RUT
Posts: 20 since Aug 2012
Thanks Given: 44
Thanks Received: 13

If C>(L+(H-L)*0.75) then...

Reply With Quote
Thanked by:
  #4 (permalink)
sptrader's Avatar
Experience: Advanced
Platform: MultiCharts
Broker: IB & Iqfeed
Trading: ES , CL
Posts: 535 since Apr 2010
Thanks Given: 1,097
Thanks Received: 701

Bounty gave you 99% of it, but if you're new to Tradestation, you may need the rest of it..

(Right click on the chart) Go to "format study settings", set the "type" to "Dot", increase the thinkness, so it's easier to see, set "scaling" to "same as instrument", and properties to data1.. that should do it...
If you study easylanguage, you'll see how powerful it is and you can create just about anything that you can imagine..don't be afraid to try... that's how we all learn..

If C > (L+(H-L)*0.75) then begin
Plot1(H+.1*(H-L),"C >75%");

Reply With Quote
Thanked by:

Last Updated on July 24, 2015

© 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