Clearing Stores Value - futures io
futures io futures trading



Clearing Stores Value


Discussion in EasyLanguage Programming

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

Clearing Stores Value

(login for full post details)
  #1 (permalink)
Port St. Lucie, FL
 
 
Posts: 30 since Jul 2016
Thanks: 21 given, 17 received

Hello All,

I am developing a strategy with a lot of help that I received by reading this thread:



Currently everything is running correctly, but there are times I would like to clear or reset the Boolean value.



Example: I would like to reset or clear the "stored value" at the close of the day.



Any ideas of how to do this?

Thanks in advance,

Donovan

Reply With Quote

Can you help answer these questions
from other members on futures io?
SimplerOptions
Trading Reviews and Vendors
Webinar: Finding your own way in trading w/Adam Grimes
The Elite Circle
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
Indicators for pair trading MES and M2K
Platforms and Indicators
Help Needed: TOS Options Chain IV & IMPL MOVE Calcul …
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Selling Options on Futures?
107 thanks
Battlestations: Show us your trading desks!
99 thanks
Rank your Futures vs Stocks trading priority
54 thanks
Want your NinjaTrader indicator created, free?
27 thanks
Whats this confusion with margins?
23 thanks
 
(login for full post details)
  #3 (permalink)
 
 
Posts: 2,230 since Apr 2013
Thanks: 409 given, 1,471 received


Hi Donovan,

depending on how you define "close of the day" it might be easier to reset the variable at the beginning of a new day by for example monitoring a change in the reserved word "Date".

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)
Port St. Lucie, FL
 
 
Posts: 30 since Jul 2016
Thanks: 21 given, 17 received

Hello ABCTG,

Thanks much for your reply.

Perhaps at the close of the day was bad example.

Lets say I want to reset the stored value after 5 bars if it wasn't triggered.

How would I do that?



Basically I don't know any keywords or verbiage to clear the stored value. Once I know "How to word" the resetting of the value I can figure out how to apply it to different situations.



Hopefully that makes sense.

Thanks again,

Donovan

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

Hi Donovan,

there are no reserved words for clearing a variable's value, but you can simply set it to any value you want whenever you want. If you want to do something after a certain number of bars, this will likely require a second variable that you use to store the bar number (using the reserved word CurrentBar for example) when you store the value in your first variable (for example). Then you can monitor the value for CurrentBar on subsequent bars and in case it is greater than the value you stored + X you can perform your reset.

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)
  #6 (permalink)
Port St. Lucie, FL
 
 
Posts: 30 since Jul 2016
Thanks: 21 given, 17 received

Sorry for the delayed response...

I finally got a chance to give your theory a try and it worked great.

Just wanted to close this thread and say thanks a million!!!!

Donovan


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

Hi Donovan,

thank you for your feedback, I am glad to hear that.

Regards,

ABCTG


Donovan2580 View Post
Sorry for the delayed response...

I finally got a chance to give your theory a try and it worked great.

Just wanted to close this thread and say thanks a million!!!!

Donovan



Follow me on Twitter Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Clearing Stores Value


Last Updated on February 28, 2019


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