• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 2:40pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 2:40pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

My way of trading by Using trend line , BL line & febo level 76 replies

Need help- alert when trend line crosses price line 8 replies

Automatic Trend line, trend channel, support, resistance detection 3 replies

Plz anyone can help me,im facing troubles!!! 7 replies

Reading......and reading....... 21 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe

Obj_trendbyangle – troubles setting a trend line and reading its coordinates (HELP)

  • Post #1
  • Quote
  • First Post: Sep 1, 2008 8:42am Sep 1, 2008 8:42am
  •  monicmtne
  • | Joined Aug 2007 | Status: Member | 2 Posts
Could anyone please help me draw a trend line of a specific angle and then read its coordinates?
I tried this and 1st of all it draws the line backwards instead of forwards and even so the coordinates (value by shift) returned are not correct

datetime lt=Time[100];
double l=Low[100];
ObjectCreate("test",OBJ_TRENDBYANGLE,0,lt,l);
ObjectSet("test",OBJPROP_ANGLE,30);
//ObjectSet("test",OBJPROP_TIME2,Time[0]); // places the line forwards

double i1=ObjectGetValueByShift("test",10);
Alert("1=",i1);
double i2=ObjectGetValueByShift("test",120);
Alert("2=",i2);
double i3=ObjectGetValueByShift("test",130);
Alert("3=",i3);
  • Platform Tech
  • /
  • Obj_trendbyangle – troubles setting a trend line and reading its coordinates (HELP)
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022