changing spread value - MultiCharts | futures io social day trading
futures io futures trading


changing spread value
Updated: Views / Replies:416 / 3
Created: by lsubeano Attachments:2

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
 

changing spread value

  #1 (permalink)
Elite Member
hollywood
 
Futures Experience: Intermediate
Platform: thinkorswim
Broker/Data: TD
Favorite Futures: futures
 
lsubeano's Avatar
 
Posts: 194 since Jun 2010
Thanks: 63 given, 149 received

changing spread value

does anyone know how to edit spread values in mc?

I want to be able to change tick value -ie 100*gc-5000*si to get true value spread.

I tried to edit the spread indicator but couldn't figure it out without errors---


danka

Reply With Quote
 
  #2 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

danka,

I am not sure if I understand what you are trying to do exactly, can you give an example maybe with a chart and the particular code you were trying to change? I am quite certain there will be ways to accomplish what you have in mind.

Regards,

ABCTG

Reply With Quote
 
  #3 (permalink)
Elite Member
hollywood
 
Futures Experience: Intermediate
Platform: thinkorswim
Broker/Data: TD
Favorite Futures: futures
 
lsubeano's Avatar
 
Posts: 194 since Jun 2010
Thanks: 63 given, 149 received


i'll attach some pics....


i want tick value to be equal and to be able to change it...so since gold is 100 a point and gold is 5000 a point i multiply 100*gc and 5000*si to get it even....
so i want to be able to change it so if i spread oil and gold....whichever I can change the value of point size in indicator
here's the script of spread indicator:





using System;
using System.Drawing;

namespace PowerLanguage.Indicator
{
public class Spread__Diff : IndicatorObject
{
private IPlotObject Plot1;

public Spread__Diff(object ctx) :
base(ctx) {}

private ISeries<double> dataseries1 { get; set; }

private ISeries<double> dataseries2 { get; set; }

protected override void Create(){
Plot1 =
AddPlot(new PlotAttributes("SprdDiff", 0, Color.Blue,
Color.Empty, 0, 0, true));
}

protected override void StartCalc(){
dataseries1 = Bars.Close;
dataseries2 = BarsOfData(2).Close;
}


protected override void CalcBar(){
Plot1.Set(0, (dataseries1[0] - dataseries2[0]));
}
}
}



thanks!

Attached Thumbnails
changing spread value-gc-si.png   changing spread value-gc-simc.png  
Reply With Quote
 
  #4 (permalink)
Market Wizard
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation, Multicharts.NET, NinjaTrader, MetaTrader
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,533 since Apr 2013
Thanks: 231 given, 855 received
Forum Reputation: Legendary

lsubeano,

it sounds like you just need to multiply the prices that build the spread with their respective point values. Modifying the line of the original code that sets the plot value with the line below would do that:

 
Code
            Plot1.Set(0, ((dataseries1[0] * Bars.Info.BigPointValue) - (dataseries2[0] * BarsOfData(2).Info.BigPointValue)));
Regards,

ABCTG

Reply With Quote

Reply



futures io > > > > changing spread value

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
Spread trading, calculating spread calhawk01 Emini Index Futures Trading 13 February 21st, 2017 09:20 AM
Changing my focus MWinfrey Off-Topic 15 December 16th, 2013 12:43 PM
futures option spread versus futures spread leinster Commodities Futures Trading 4 September 7th, 2013 02:25 PM
Why do YOU keep changing your system? r3algood The Elite Circle 12 September 1st, 2011 10:22 AM
Stochastics Color Changing wbtrader EasyLanguage Programming 4 August 29th, 2011 01:38 PM


All times are GMT -4. The time now is 01:34 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-16 in 0.08 seconds with 20 queries on phoenix via your IP 23.22.136.56