Resetting Variables in MC Signal - MultiCharts | futures io social day trading
futures io futures trading

Resetting Variables in MC Signal
Updated: Views / Replies:1,759 / 11
Created: by reticent67 Attachments:0

Welcome to futures io.

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

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

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

Thread Tools Search this Thread

Resetting Variables in MC Signal

  #11 (permalink)
Trading for Fun
Futures Experience: None
Platform: mc, TS, ninja
Favorite Futures: es
Bimi's Avatar
Posts: 118 since Mar 2010
Thanks: 42 given, 58 received

reticent67 View Post
Forgive my ignorance, I don't quite follow your meaning.

Are saying that I should add more confirmation (i.e. indicators) to my strategy or is there some sort of code that I should be implementing to increase reliability?

Thanks again for all your time and responses.

you have to add filters that can help you filter out your logic, instead of piggyback on existing filters.


you have a true/false filter called okSell.

there is a set of condition that governs this filter.
ie. marketposition = 1 and DSVal crosses above Overbought.

subsequently you declared that okSell = false.

Well, you can't do that.

This is like telling your daughter she is not your daughter anymore because you said so.

the only time the oksell filter equals to false is when the above conditions do not meet the criteria.
When that happens, you do not need to declare it, oksell AUTOMATICALLY becomes false.

What happened in your code is,
after you have declared oksell = false,
as soon as you turned around (in the next tick),
oksell becomes true again.

Hope the above makes sense.

Last edited by Bimi; November 2nd, 2012 at 07:57 PM.
Reply With Quote
The following user says Thank You to Bimi for this post:
  #12 (permalink)
Elite Member
Los Angeles
Futures Experience: Intermediate
Platform: Sierra Chart
Favorite Futures: Stocks
Posts: 6 since Jun 2012
Thanks: 1 given, 0 received

That makes perfect sense and you are 100% correct. This is exactly the problem I'm trying to overcome. The question is, how?

Once DSVal crosses above the OB, the okSell is set true it will remain true until the condition is no longer met.

Sometimes this cross above happens outside of a trade and I will enter a trade with this variable already set to true. So if the Momentum indicator goes down one day, an exit order will trigger even though the criteria hasn't been fully met by crossing above the OB line. Thereby giving me a bad case of premature evacuation.

So I need to figure how to set it back to false on my trade entry and force it to have to cross above the OB line again in order to be true. Back to the drawing board I go.

Reply With Quote


futures io > > > > Resetting Variables in MC Signal

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

September Journal Challenge (sponsored by TopstepTrader)


Free Elite Membership: Twitter Tuesday and Facebook Friday!

Tue & Fri

Trading with Python: Using Machine Learning w/Ran Aroussi [12:30PM ET]

Elite only

TopstepTrader (TBD)

Sep 25

RandBots (TBD)

Sep 27

Anthony Drager (TBD)

Oct 4

Similar Threads
Thread Thread Starter Forum Replies Last Post
MC Traders dynamic index -> conveting to MC yiman MultiCharts 12 August 2nd, 2016 10:40 AM
MC 7.4 Global Variables kleff EasyLanguage Programming 4 May 12th, 2012 12:08 AM
Q on signal counting in MC aczk EasyLanguage Programming 6 February 14th, 2012 10:35 AM
Why are we Stacking these Variables? DonStar AmiBroker 1 January 25th, 2012 09:18 AM
Exposing variables kaywai NinjaTrader Programming 4 April 14th, 2011 11:58 AM

All times are GMT -4. The time now is 09:11 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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
Page generated 2018-09-16 in 0.09 seconds with 14 queries on phoenix