NexusFi: Find Your Edge


Home Menu

 





Plot a dot (multicharts)


Discussion in EasyLanguage Programming

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




 
Search this Thread

Plot a dot (multicharts)

  #1 (permalink)
Ozons
Paris
 
Posts: 4 since Feb 2011
Thanks Given: 1
Thanks Received: 0

Hello,

festival sorry for my English. I try to program the following indicator.

Example :

1° Indicator 1 crosses above indicator 2
2° While indicator 1 > indicator 2 begin
3° If the first event H> H[1] then plot L[1] during all the second step

Thank you

Attached Thumbnails
Click image for larger version

Name:	1.GIF
Views:	359
Size:	5.4 KB
ID:	30110  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Could it be that currency futures are way easier to trade?
Currencies
MC PL editor upgrade
MultiCharts
Cheap historycal L1 data for stocks
Stocks and ETFs
ZombieSqueeze
Platforms and Indicators
 
  #3 (permalink)
Doctor Leo
St. Petersburg, Russia
 
Posts: 30 since Nov 2010
Thanks Given: 6
Thanks Received: 19


 
Code
var: ind1(0), ind2(0), last_low(0), search_allowed(false), plot_allowed(false);

ind1 = ... // your definition of Indicator1;
ind2 = ... // your definition of Indicator1;

if ind1 < ind2 then plot_allowed = false;

if ind1 crosses above ind2 then search_allowed = true;

if high > high[1] and search_allowed then begin
	search_allowed = false;
	plot_allowed = true;
	last_low = low[1];
end;

if plot_allowed then plot1(last_low);

Reply With Quote
Thanked by:
  #4 (permalink)
Ozons
Paris
 
Posts: 4 since Feb 2011
Thanks Given: 1
Thanks Received: 0

Thank you Doctor Leo for this solution and your help

Reply With Quote




Last Updated on February 8, 2011


© 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