NexusFi: Find Your Edge


Home Menu

 





Why are not all lines drawn?


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
kristian
Zurich
 
Posts: 8 since Aug 2015
Thanks Given: 4
Thanks Received: 3

Hey guys

I'm having a problem with my open range breakout strategy.. The range lines of the last day are not drawn as you can see in the image, but when I isolate the the "range-drawing" part of the code (no entries/exits, only line drawing) it draws the ranges for every day.

The range drawing code is as following:

 
Code
if date <> date[1] then begin

	highestHigh = 0;
	lowestLow = 99999999;

end;


// Define range
if (Time >= 800) and (Time <= 1100) then begin

	storedLow = Low;
	storedHigh = High;
	
	highestHigh = MaxList(High, highestHigh);
	lowestLow = MinList(Low, lowestLow);
	
	absoluteRange = highestHigh - lowestLow;
	
end;


// Draw range lines
if (Time = 1100) then begin

	rangeLowLine = tl_new(Date, 1100, lowestLow, Date, 1600, lowestLow);
	rangeHighLine = tl_new(Date, 1100, highestHigh, Date, 1600, highestHigh);
	
end;

What could be causing this behavior? I don't get any errors with my strategy..



Reply With Quote

Can you help answer these questions
from other members on NexusFi?
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
No book, only a stair: journaling fills where price move …
Cryptocurrency
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
My Rant with AMP Futures
Trading Reviews and Vendors
I developed a free AI-powered (Kronos) forecasting indic …
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Would you consider buying or leasing an algo?
6 thanks
Trading Journal (Neural Network Production Pipeline Mode …
4 thanks
Trading psychology articles
4 thanks
Big Mike in Ecuador
3 thanks
The Scalpers Journey
2 thanks




Last Updated on November 14, 2015


© 2026 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 - Downloads - Top
no new posts