Arrow Reader - futures io
futures io futures trading



Arrow Reader


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ABCTG with 5 posts (2 thanks)
    2. looks_two mamax98 with 4 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 KFC Chan with 1 posts (0 thanks)
    1. trending_up 1,686 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 11 posts
    2. attach_file 0 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

 
Search this Thread
 

Arrow Reader

(login for full post details)
  #1 (permalink)
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
 
Posts: 54 since Jun 2015
Thanks: 152 given, 13 received

Is there any way to get Multichart to recognize a manually drawn arrow on a chart? I'm trying to go back in charts and manually place trades by drawing and up or down arrow. Multicharts can then produce a performance report based on my arrows. Someone had the exact project in 2014 and he posted it in Downloads, however the code doesn't work. Thanks in advance.

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Data for the YM and RTY for NT8 to practice on?
NinjaTrader
Market Position Indicator
The Elite Circle
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
MACD line not plotting after change of plot order
NinjaTrader
Indicators for pair trading MES and M2K
Platforms and Indicators
 
 
(login for full post details)
  #3 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received


mamax98,

take a look at Arw GetNext, as it will allow you to detect manually drawn arrows. I am not sure how MC would produce a performance report out of your arrows though (unless you track the performance yourself within the code of course or create a signal that takes entries and exits based on the arrows).

Regards,

ABCTG

Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:
 
(login for full post details)
  #4 (permalink)
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
 
Posts: 54 since Jun 2015
Thanks: 152 given, 13 received


ABCTG View Post
mamax98,

take a look at Arw GetNext, as it will allow you to detect manually drawn arrows. I am not sure how MC would produce a performance report out of your arrows though (unless you track the performance yourself within the code of course or create a signal that takes entries and exits based on the arrows).

Regards,

ABCTG

Thanks a lot @ABCTG.
I will take a look at that function. The plan is to build a strategy or "signal" that will generate buy or sell signals based on the direction of the arrow. It was attempted before in download called "Arrow Reader". However, the download was meant for a game of guessing market direction and statistics. I couldn't get it to do any more than that. Do you think that's possible in EL? Also is there alternatives that I can try, like capturing key strokes or mouse clicks? I've tried a mouseclick code but that didn't seem to work either lol

Started this thread Reply With Quote
 
(login for full post details)
  #5 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

mamax98,

it's doable in EasyLanguage and mouse clicks should work, too. However you'd need a way to store/retrieve the clicked bars with your system.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #6 (permalink)
The Netherlands
 
Experience: None
Platform: MultiCharts, TradingView
Trading: ...
 
Jura's Avatar
 
Posts: 774 since Apr 2010
Thanks: 2,347 given, 688 received


mamax98 View Post
The plan is to build a strategy or "signal" that will generate buy or sell signals based on the direction of the arrow. (...) I've tried a mouseclick code but that didn't seem to work either lol

I would mouse clicks for this, actually.

There are a couple of ways to approach this. You can have the strategy detect whether a new manual arrow is placed on the chart. Then it can fetch the direction of that arrow, followed by making a long/short decision and trade.

But in the first post you also mentioned you'd like to go back on the chart and place the arrows where you'd take trades. In that case, it might be easier to have a mouse click recalculate the strategy on all the historical bars (from the first to the last). It can then submit a trade when an arrow is placed on the bar.

Otherwise, without recalculating the strategy after the arrows are placed on the chart, I don't know how a strategy can submits orders for historical bars (it can't). I hope this makes sense.

Good luck!

Reply With Quote
The following user says Thank You to Jura for this post:
 
(login for full post details)
  #7 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

You will have to recalculate the strategy one way or the other (either by switching the status off and on, by keystroke/mouse-click or by simply adding the strategy to the chart only when you are done drawing all the arrows) to make it aware of the information you placed on a chart (unless you forcefully update your strategy at set intervals using a time anyway).

If you just use mouse-clicks to specify the bars this would require storing the bar information (in a map for example), as otherwise the information would be lost of after a reload. On top of that you wouldn't know on which bar you clicked without adding some drawing, too and you would need a way to retrieve the direction of a trade from your click (for example if it was above the bar, go short and vice versa).

With using arrows you accomplish a lot of the above already: They stay on the chart, they show you were you placed them (you can even conveniently move them to other locations) and you can use the direction (or color) to "signal" a trade direction.

Now the only question would be how you want to reload your strategy code, so it can be react to the information (or updated information). If you don't feel comfortable coding that, you can accomplish it with switching the status off and back on of course. However a code induced reload as @Jura pointed out, using a mouseclick or mouse-click and key combination (to prevent unwanted reloads) would be more convenient.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
The following user says Thank You to ABCTG for this post:
 
(login for full post details)
  #8 (permalink)
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
 
Posts: 54 since Jun 2015
Thanks: 152 given, 13 received

Thanks guys
I managed to produce a code to have the ability to recognize the arrow direction and make trades based on that. I only had enough time to get it to that point, so I haven't don any troubleshooting or verification. I'm hoping to be able to handle multiple contracts too (as in scaling in and scaling out). I definitely need to get more intimate with "Arrow" commands.

Started this thread Reply With Quote
 
(login for full post details)
  #9 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

mamax98,

as long as your strategy allows for multiple trades in the same direction, this shouldn't be a problem. You can probably get quite creative and use things like color or size of the arrow to determine the number of contracts to use for an order.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #10 (permalink)
Los Angeles California United States
 
Experience: Beginner
Platform: NT, TS, MC
Trading: ES
 
Posts: 54 since Jun 2015
Thanks: 152 given, 13 received


Oh and as far as the strategy performance, I just had to click status off and on every few arrows. I probably can just place my arrows all the way through then refresh the strategy once in the end. No reason to keep on refreshing the strategy every trade.

Started this thread Reply With Quote
 
(login for full post details)
  #11 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received

Yes, only doing the reloads when you want them to should be perfectly fine. There is no need to do it after every arrow.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
 
(login for full post details)
  #12 (permalink)
Taiwan
 
 
Posts: 2 since Sep 2020
Thanks: 0 given, 1 received


mamax98 View Post
Thanks guys
I managed to produce a code to have the ability to recognize the arrow direction and make trades based on that. I only had enough time to get it to that point, so I haven't don any troubleshooting or verification. I'm hoping to be able to handle multiple contracts too (as in scaling in and scaling out). I definitely need to get more intimate with "Arrow" commands.

Hi mamax98,
can you share the code with us so we can learn it?
Thank you and Happy New Year!
Rap

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Arrow Reader


Last Updated on December 29, 2020


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
 

Battlestations! Show us your trading desk - $1,500 in prizes!

March
 

Importance of Finding Your Own Way w/Adam Grimes

Elite only
 

Journal Challenge w/Jigsaw

April
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts