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


Resetting Variables in MC Signal
Updated: Views / Replies:1,513 / 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 90,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

Reply
 
Thread Tools Search this Thread
 

Resetting Variables in MC Signal

  #11 (permalink)
Trading for Fun
London
 
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.

eg.

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 08: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

Reply



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)

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

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


All times are GMT -4. The time now is 04:35 AM.

Copyright © 2017 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
Page generated 2017-12-14 in 0.08 seconds with 19 queries on phoenix via your IP 54.91.38.173