Up Day VS Down Day - futures io
futures io futures trading



Up Day VS Down Day


Discussion in EasyLanguage Programming

Updated
    1. trending_up 770 views
    2. thumb_up 2 thanks given
    3. group 2 followers
    1. forum 4 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
 

Up Day VS Down Day

(login for full post details)
  #1 (permalink)
Longford + Leinster/Ireland
 
 
Posts: 3 since Sep 2016
Thanks: 1 given, 0 received

Hi All,
I am trying to write some code that will determine whether it is an up day or a down day to initiate a buy or a sell signal. I would like to be able to back test on the 1 hour time frame. The opening bar i like to use is 6 GMT. If price is above the open of the 6 GMT bar i would like to allow buy signals only and if below the 6 GMT bar allow sell signals only.
That would allow me to determine if it is an up/down day. Would it be possible to add another filter eg. up/down week using the same criteria (6 GMT Open on a Monday morning)
Any help greatly appreciated,
Thank you,
Dave.

Reply With Quote

Can you help answer these questions
from other members on futures io?
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
What blockvolume is visible? - order processing
NinjaTrader
Short Interest Ratio indicator?
ThinkOrSwim
Automatic pattern research with NT
Elite Algorithmic NinjaTrader Trading
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Selling Options on Futures?
109 thanks
Battlestations: Show us your trading desks!
108 thanks
Rank your Futures vs Stocks trading priority
55 thanks
Want your NinjaTrader indicator created, free?
27 thanks
Whats this confusion with margins?
21 thanks
 
(login for full post details)
  #3 (permalink)
Longford + Leinster/Ireland
 
 
Posts: 3 since Sep 2016
Thanks: 1 given, 0 received


Hi All,
I hope i am not posting incorrectly or to the wrong thread. I am very new to easy language (and this site) and every time i googled a "how to in easy language" this forum came up with people very willing to help out with programming queries. So i signed up as a member to get some help programming.
The method i am trying to code for back testing purposes is called DIBS (Daily inside Bar Strategy) It is a fairly simple system and a lot of detail wrote about it on another Forex forum which i will not reference or link too unless i am allowed too.
I will describe the method as best as I can and maybe somebody might help me out with the easy language coding? If i am going about his wrong please let me know as i do not want to offend anybody or the site etiquette, Thanks.

DIBS:
1. If price is higher than the 6 GMT open = Up day = Buys only
2. If price is Lower than the 6 GMT Open = Down day = Sells only.
3. Only trade between the hours of 6 GMT - 1600 GMT
4. If an inside bar is established (1 Hr Time-frame but works across many Diff TF's) Buy/Sell (depending on rules 1 & 2) at the top/bottom + 1 pip of the Inside Bar and place your stop loss at the opposite end of the Inside bar.
5. Set take profit for half your lot size the same distance as your initial risk away from your entry. This in essence gives a free trade when hit.
6. For the remainder use a trailing stop (20 EMA) to try and capture as much of the trend as possible.

Look forward to hearing from some of the experienced programmers who maybe able to help me out,
Many Thanks,
Dave.

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

Hi dorourke5,

if you post your code you have written until now, someone might be able to steer you in the right direction. If you are looking for something to write the code for you you might want to post in the Want your EasyLanguage indicator created, free? thread. The access might require an elite membership, though.

Regards,

ABCTG

Follow me on Twitter Reply With Quote
The following 2 users say Thank You to ABCTG for this post:
 
(login for full post details)
  #5 (permalink)
Longford + Leinster/Ireland
 
 
Posts: 3 since Sep 2016
Thanks: 1 given, 0 received


ABCTG View Post
Hi dorourke5,

if you post your code you have written until now, someone might be able to steer you in the right direction. If you are looking for something to write the code for you you might want to post in the Want your EasyLanguage indicator created, free?[/URL] thread. The access might require an elite membership, though.

Regards,

ABCTG

Hey ABCTG,
Many thanks for your help. I believe i need to be an Elite member to access that forum. I will upload the code i attempted myself and hopefully somebody might be willing to lend a hand,
Thanks again,
Dave.

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Up Day VS Down Day


Last Updated on September 14, 2016


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