NexusFi: Find Your Edge


Home Menu

 





intraday standard judgment


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
LW11041104
Tokyo,Sapporo
 
Posts: 75 since Jan 2023
Thanks Given: 2
Thanks Received: 3

I would like to determine if the price is up or down by the bar (positive or negative) of the day's intraday candle (positive or negative) from the opening price of the day, but the chart seems to be partially moving, but the radar screen does not show it at all.

Also, the chart shows paint on the second bar from the opening price, but I do not want it to be judged if the second bar rises with a candle (positive line).

In the example in the attached image, I want to judge at the arrow and plot the result as shown in the attached image.
How is this possible?



 
Code
variable:Open_(0),High_(0),low_(0),Close_(0),indBar(0),countBar(0),iSShowAllert(false);

if barstatus(1) = 2 then

   begin

   countBar = countBar+1;
            
   end;

if Time=SessionFirstBarTime(1,1) then

   begin
   countBar=0;
            
   end;

if Date[1] <> Date[0] then begin
   
   Open_ = open;
   High_ = high;
   low_  = low;
   Close_= close; 
		   
   end;		

if high>High_ then begin
    
   High_  = high;
    
   indBar = CurrentBar;
           
   iSShowAllert =true;
      
   end;     
           
if indBar[1] +1 = indBar  or indBar[1] = indBar or  countBar = 2 then

   begin
            
   iSShowAllert = false;

   end

else begin
        
     iSShowAllert = true;

     end;

if iSShowAllert then begin
   
   if Open_<Close_ then 
     
      
      Plot1(High_,"",Green);
      Alert ;
		
      end
      
    else


if iSShowAllert then begin
		
   if Open_>Close_ and Open_ = low_ then 
      
      plot1(High_,"",Cyan);
      
      end
      
   else
      
if iSShowAllert then begin
   
    
              
   if Open_>Close_ then 
      
      Plot1(High_,"",red);
                     	
      end
		 
   else
		 
   begin
   
   NoPlot(1);
   end;


Attached Thumbnails
Click image for larger version

Name:	Radar screen execution results(1).png
Views:	208
Size:	12.5 KB
ID:	333350   Click image for larger version

Name:	2023-07-05  Same-day intraday ascending decision(2).png
Views:	154
Size:	36.1 KB
ID:	333351  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My Rant with AMP Futures
Trading Reviews and Vendors
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
EA
Platforms and Indicators
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
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
  #2 (permalink)
SunTrader
Boca Raton, FL
 
Posts: 267 since Nov 2018
Thanks Given: 84
Thanks Received: 185

Try deleting this line

if Date[1] <> Date[0] then begin..... as well as end; above after countBar = 0

and see what you get.

Since you've already set the day with code above it not necessary to do it again.

So for instance:-

if Time=SessionFirstBarTime(1,1) then

begin
countBar=0;

Open_ = open;
High_ = high;
low_ = low;
Close_= close;

end;


Reply With Quote
  #3 (permalink)
LW11041104
Tokyo,Sapporo
 
Posts: 75 since Jan 2023
Thanks Given: 2
Thanks Received: 3



SunTrader View Post
Try deleting this line

if Date[1] <> Date[0] then begin..... as well as end; above after countBar = 0

and see what you get.

Since you've already set the day with code above it not necessary to do it again.

So for instance:-

if Time=SessionFirstBarTime(1,1) then

begin
countBar=0;

Open_ = open;
High_ = high;
low_ = low;
Close_= close;

end;


Thank you for your response.

I seem to have solved the problem.
Thank you for your help.


Reply With Quote




Last Updated on August 17, 2023


© 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