{UTF-8} Amount Hedged Long= SIMULTANEOUS ( Demand*Time to hedge, Demand*Time to hedge) ~ amount ~ this is the ammount of material being hedged daily | Price Direction Opinions the Market Maker is Aware of[Traders,Opinions]= Awareness Screen[Traders,Opinions]*Fundamental Analysis Price Direction Opinions[Opinions\ ] ~ dmnl ~ this is a matrix which sets any price target opinions the trader is \ unaware of to 0 while passing through all opinions the trader is aware of | Smooth of Observed Carry Out[Opinions]= SMOOTH(Current Value of Observed Carry Out used for Estimation[Opinions], Smoothing Time for Observing Carry Out and Demand\ [Opinions]) ~ amount ~ this is the smoothed value of supply the opinon maker uses | Smooth of Observed Demand[Opinions]= SMOOTH(Current Value of Observed Demand used for Estimation[Opinions], Smoothing Time for Observing Carry Out and Demand\ [Opinions] ) ~ amount/Day ~ this is the value of observed demand smoothed to represent the delay in \ the opinion maker changin their moind about supply and demand | "Make an Observation?"[Opinions]= MODULO(Time, observation interval[Opinions] ) ~ Day ~ this is a flag that will trip every observation interval and update the \ opinion makers judgement of supply and demand | Read out Carry Out[Opinions]= DELAY FIXED ( Read in Carry Out[Opinions], observation interval[Opinions], 0) ~ amount/Day ~ this takes value the decision makers uses out of the stock when a new \ opinion is formed | Current Value of Observed Carry Out used for Estimation[Opinions]= INTEG ( MAX(Read in Carry Out[Opinions],0)-Read out Carry Out[Opinions]-Read out time 0[Opinions\ ], Carry Out) ~ amount ~ this is the value of demand used by the opinion maker to make price guesses | Current Value of Observed Demand used for Estimation[Opinions]= INTEG ( MAX(Read in Demand[Opinions],0)-Read out Demand[Opinions]-Read out Demand time 0[Opinions\ ], Demand) ~ amount/Day ~ this is the value of demand that the opinion maker is currently using | Read out time 0[Opinions]= IF THEN ELSE(Time=INITIAL TIME, Current Value of Observed Carry Out used for Estimation\ [Opinions] , 0 )/TIME STEP ~ amount/Day ~ this drains the initial vaule for the variable | Read in Carry Out[Opinions]= IF THEN ELSE("Make an Observation?"[Opinions]=0, Observed Carry Out[Opinions], 0)/TIME STEP ~ amount/Day ~ this will read in carry out each observation interval | Read in Demand[Opinions]= IF THEN ELSE("Make an Observation?"[Opinions]=0, Observed Demand[Opinions] , 0 )/TIME STEP ~ amount/Day/Day ~ this is the value of demand flowing into the stock whenever the opinion \ maker makes an observation | Read out Demand[Opinions]= DELAY FIXED ( Read in Demand[Opinions], observation interval[Opinions] , 0) ~ amount/Day/Day ~ this takes the current value the opinion maker is using for demand and \ clears it when a new value is entered | Read out Demand time 0[Opinions]= IF THEN ELSE(Time=INITIAL TIME, Current Value of Observed Demand used for Estimation\ [Opinions] , 0)/TIME STEP ~ amount/Day/Day ~ this reads out the initial value of the stock | observation interval[Opinions]= 5 ~ days ~ every observation interval days the opinion makers will update their \ opinions by observing supply and demand | "Large Enough Gap?"[Opinions]= IF THEN ELSE(Gap Between Forecast and Ideal Carry Out to Use[Opinions]>Minimum Gap that will Produce a Signal\ [Opinions],1,0) ~ dmnl ~ this will be a one when the gap is large enough to produce a signal | Opinion Maker's Ideal Carry Out to Use Ratio given Price[Opinions]= 20 ~ days ~ this is the carry out to use tha thte opinion makers believe is \ apporpriate given the price | Fundamental Analysis Price Direction Opinion from Level of Coverage[Opinions]= Directional Signal[Opinions]*"Large Enough Gap?"[Opinions] ~ dmnl ~ this is the price direction opinion generated by the opinion makers view \ of the ideal Carry out to use ratio | Minimum Gap that will Produce a Signal[Opinions]= 0.1 ~ days ~ this is the minimum difference between the forecast and ideal in order for \ the opinioon maker to generate an opinion | Weight Placed on Level of Carry Out[Opinions]= 0.5 ~ dmnl ~ this is the weight placed by the opinion maker on the level of the carry \ out for forming their price direction opinion. | Gap Between Forecast and Ideal Carry Out to Use[Opinions]= Opinion Maker's Ideal Carry Out to Use Ratio given Price[Opinions]-Forecast Carry Out to Use Ratio\ [Opinions] ~ days ~ this is the difference between the two variables | Directional Signal[Opinions]= IF THEN ELSE(Gap Between Forecast and Ideal Carry Out to Use[Opinions]>0, 1,-1) ~ dmnl ~ this will return a bearish signal if the forecast is less than the ideal \ and a bullish signal in the other case | Fundamental Analysis Price Direction Opinions[Opinions]= Weight Placed on Level of Carry Out[Opinions]*Fundamental Analysis Price Direction Opinion from Level of Coverage\ [Opinions]+(1-Weight Placed on Level of Carry Out[Opinions] )*Fundamental Analysis Price Direction Opinion from Trend[Opinions] ~ dmnl ~ this is the price direction opinion generated by the Opinion maker | Constant Value= 100 ~ dmnl ~ this is the constant value added to the input | Parameter for Height of the Demand Curve= IF THEN ELSE(Switch on Demand Input=1,Input for Demand Height,Static Demand Curve Height\ ) ~ dmnl ~ this is the height of the demand curve | Parameter for Height of the Production Curve= IF THEN ELSE(Switch on Production Input=1,Input for Production Height,Static Production Curve Height\ ) ~ dmnl ~ this is the height of the production curve | Static Demand Curve Height= 300 ~ dmnl ~ this is a constant value used when the switch is off | Ramp Start TimeS= 1 ~ Day [0,600] ~ Start time for the ramp input. | Pulse Duration= 1 ~ Day ~ Duration of pulse input. Set to Time Step for an impulse. | Static Production Curve Height= 400 ~ dmnl ~ this is a constant value used when the switch is off | "Average Profit/Loss Traders 1-15"= ("Cumulative Profit/Loss"[t1]+"Cumulative Profit/Loss"[t2]+"Cumulative Profit/Loss"[\ t3]+"Cumulative Profit/Loss"[t4]+"Cumulative Profit/Loss"[t5]+"Cumulative Profit/Loss"\ [t6]+"Cumulative Profit/Loss"[t7]+"Cumulative Profit/Loss"[t8]+"Cumulative Profit/Loss"\ [t9]+"Cumulative Profit/Loss"[t10]+"Cumulative Profit/Loss"[t11]+"Cumulative Profit/Loss"\ [t12]+"Cumulative Profit/Loss"[t13]+"Cumulative Profit/Loss"[t14]+"Cumulative Profit/Loss"\ [t15])/15 ~ dollars ~ this is the average profit of the first fifteen traders | Pressure on Production from Price= Indicated Production per Curve Height*Parameter for Height of the Production Curve ~ ammount/Day ~ the price affects the production capacity, which with some delay will \ affect the ammount produced | "Average Profit/Loss Traders 16-30"= ("Cumulative Profit/Loss"[t16]+"Cumulative Profit/Loss"[t17]+"Cumulative Profit/Loss"\ [t18]+"Cumulative Profit/Loss"[t19]+"Cumulative Profit/Loss"[t20]+"Cumulative Profit/Loss"\ [t21]+"Cumulative Profit/Loss"[t22]+"Cumulative Profit/Loss"[t23]+"Cumulative Profit/Loss"\ [t24]+"Cumulative Profit/Loss"[t25]+"Cumulative Profit/Loss"[t26]+"Cumulative Profit/Loss"\ [t27]+"Cumulative Profit/Loss"[t28]+"Cumulative Profit/Loss"[t29]+"Cumulative Profit/Loss"\ [t30])/15 ~ dollars ~ this is the average profit or loss of the last 15 traders | Step TimeS= 1 ~ Day [0,600] ~ Time for the step input. | Ramp End Time=1e+009 ~ Day ~ End time for the ramp input. | Switch on Demand Input= 0 ~ dmnl [0,1,1] ~ this switch will turn on the input function | Constant ValueS= 100 ~ dmnl ~ this is the constant value added to the input | Ramp SlopeS=0 ~ 1/Day ~ Slope of the ramp input, as a fraction of the base value (per year). | Ramp Start Time= 1 ~ Day ~ Start time for the ramp input. | Input for Production Height= Constant ValueS+STEP(Step HeightS,Step TimeS)+(Pulse QuantityS/Pulse DurationS)*PULSE\ (Pulse TimeS,Pulse DurationS)+RAMP(Ramp SlopeS,Ramp Start TimeS ,Ramp End TimeS)+Sine AmplitudeS*SIN(2*3.14159*Time/Sine PeriodS) ~ Dimensionless ~ Input is a dimensionless variable which provides a variety of test input patterns, \ including a step, pulse, sine wave, and random noise. | Pulse DurationS= 1 ~ Day ~ Duration of pulse input. Set to Time Step for an impulse. | Pulse Quantity= 0 ~ Dimensionless*Day ~ The quantity to be injected to customer orders, as a fraction of the base value of \ Input. For example, to pulse in a quantity equal to 50% of the current value of \ input, set to .50. | Pulse QuantityS= 0 ~ Dimensionless*Day ~ The quantity to be injected to customer orders, as a fraction of the base value of \ Input. For example, to pulse in a quantity equal to 50% of the current value of \ input, set to .50. | Pulse Time= 1 ~ Day ~ Time at which the pulse in Input occurs. | Pulse TimeS= 1 ~ Day ~ Time at which the pulse in Input occurs. | Step Time= 1 ~ Day [0,1000] ~ Time for the step input. | Ramp Slope=0 ~ 1/Day [-1,3] ~ Slope of the ramp input, as a fraction of the base value (per year). | Pressure on Demand from Price= Indicated Demand per Curve Height*Parameter for Height of the Demand Curve ~ amount/Day ~ the price affects the amount demanded with some delay | Ramp End TimeS=1e+009 ~ Day ~ End time for the ramp input. | Switch on Production Input= 0 ~ dmnl [0,1,1] ~ this switch will turn on the input function | Input for Demand Height= Constant Value+STEP(Step Height,Step Time)+(Pulse Quantity/Pulse Duration)*PULSE(Pulse Time\ ,Pulse Duration)+RAMP(Ramp Slope,Ramp Start Time ,Ramp End Time)+Sine Amplitude*SIN(2*3.14159*Time/Sine Period) ~ Dimensionless ~ Input is a dimensionless variable which provides a variety of test input patterns, \ including a step, pulse, sine wave, and random noise. | Sine PeriodS= 4 ~ days ~ Period of sine wave in customer demand. Set initially to 4 years to \ simulate the business cycle | Step Height= 0 ~ Dimensionless [-1000,1000] ~ Height of step input to customer orders, as fraction of initial value. | Sine Amplitude=0 ~ Dimensionless [-1000,1000] ~ Amplitude of sine wave in customer orders (fraction of mean). | Sine Period= 4 ~ days [0,1000] ~ Period of sine wave in customer demand. Set initially to 4 years to \ simulate the business cycle | Step HeightS= 0 ~ Dimensionless [-1000,1000] ~ Height of step input to customer orders, as fraction of initial value. | Sine AmplitudeS=0 ~ Dimensionless ~ Amplitude of sine wave in customer orders (fraction of mean). | Parameter for Stretch of the Demand Curve= 500 ~ dmnl ~ this will scale price so that the demand curve is appropriately stretched | Production Scaled Price= Price/Parameter for Stretch of the Production Curve ~ dollars/contract ~ this scales price by the indicated parameter so that the effect of price \ on production is stretched the apropriate amount | Indicated Demand per Curve Height= Shape of the Demad Curve(Demand Scaled Price) ~ amount/Day ~ this is the demand stimulated at the given price if the demand curve were \ only one unit high | Demand Scaled Price= Price/Parameter for Stretch of the Demand Curve ~ dollars/contract ~ this is the scaled price that will effect Demand desired by the market | Shape of the Demad Curve( [(0,0)-(1,1)],(0,1),(0.207951,0.951754),(0.342508,0.872807),(0.437309,0.714912),(0.498471\ ,0.495614),(0.577982,0.27193),(0.69419,0.122807),(0.828746,0.0394737),(1,0)) ~ amount/Day ~ this is the demand vs. price curve scaled to the range between zero and one | Parameter for Stretch of the Production Curve= 500 ~ dmnl ~ this will scale the price so that it can be used in the lookup for \ indicated production | Shape of the Production Curve( [(0,0)-(1,1)],(0,0),(0.186544,0.0482456),(0.333333,0.157895),(0.431193,0.27193),(0.495413\ ,0.504386),(0.565749,0.714912),(0.691131,0.885965),(0.840979,0.960526),(1,1)) ~ amount/Day ~ this is the production vs. price curve scaled to the range of between zero \ and one | Forecast Carry Out to Use Ratio[Opinions]= XIDZ(Forecast Carry Out[Opinions],Forecast Demand[Opinions], Forecast Carry Out[Opinions\ ]/Minimum Demand) ~ days ~ this is the carry out to use ratio the opinion maker forecasts | Price Movement= MAX(Price Move Today, -Price)/time for price to move ~ dollars/contract/Day ~ this is the price movement today | Indicated Production per Curve Height= Shape of the Production Curve(Production Scaled Price) ~ amount/Day ~ this is the production indicated if the demand curve were only one unit \ high | Minimum Demand= 0.01 ~ amount/Day ~ in the case of zero demand this variable will allow the forecast of carry \ out to use to still be created | Capital[Traders]= INTEG ( "Profit/Loss"[Traders], Initial Capital[Traders]) ~ dollars ~ this is the ammount of capital each trader has | "Profit/Loss"[Traders]= MAX("Trade Exited?"[Traders]*"Potential P&L"[Traders],-Capital[Traders])/Time required to Exit a trade ~ dollars/Day ~ this will record the profit or loss of each trader when their trades are \ exited, and will not exceed the negative of capital | Demand Pink Noise[Opinions]= INTEG ( Demand Change in Pink Noise[Opinions], 0) ~ amount/Day ~ Pink Noise is first-order autocorrelated noise. Pink noise provides a realistic \ noise input to models in which the next random shock depends in part on the previous \ shocks. The user can specify the correlation time. The mean is 0 and the standard deviation \ is specified by the user. | Observed Carry Out[Opinions]= Carry Out+Supply Pink Noise[Opinions] ~ amount ~ this is the supply observed by each opinion maker | Demand White Noise[Opinions]= Demand Noise Standard Deviation[Opinions]*((24*Demand Noise Correlation Time/TIME STEP\ )^0.5*(RANDOM UNIFORM(0, 1 , Demand Noise Seed[Opinions] ) - 0.5 )) ~ amount/Day ~ White noise input to the pink noise process. | Supply Noise Standard Deviation[Opinions]= 5,10,15,70,80,90,20,30,40,50 ~ amount ~ The standard deviation of the pink noise process. | Supply Pink Noise[Opinions]= INTEG ( Supply Change in Pink Noise[Opinions], 0) ~ amount ~ Pink Noise is first-order autocorrelated noise. Pink noise provides a realistic \ noise input to models in which the next random shock depends in part on the previous \ shocks. The user can specify the correlation time. The mean is 0 and the standard deviation \ is specified by the user. | Supply Change in Pink Noise[Opinions]= (Supply White Noise[Opinions] - Supply Pink Noise[Opinions])/Supply Noise Correlation Time ~ amount/Day ~ Change in the pink noise value; Pink noise is a first order exponential smoothing \ delay of the white noise input. | Supply White Noise[Opinions]= Supply Noise Standard Deviation[Opinions]*((24*Supply Noise Correlation Time/TIME STEP\ )^0.5*(RANDOM UNIFORM(0,1,Supply Noise Seed[Opinions]) - 0.5 )) ~ amount ~ White noise input to the pink noise process. | Demand Noise Correlation Time= 1 ~ Day ~ The correlation time constant for Pink Noise. | Demand Noise Seed[Opinions]= 1 ~ Dimensionless ~ Random number generator seed. Vary to generate a different sequence of \ random numbers. | Demand Noise Standard Deviation[Opinions]= 5,10,15,70,80,90,20,30,40,50 ~ amount/Day ~ The standard deviation of the pink noise process. | Observed Demand[Opinions]= Demand+Demand Pink Noise[Opinions] ~ amount/Day ~ this is the demand observed by each opinion maker | Supply Noise Correlation Time= 1 ~ Day ~ The correlation time constant for Pink Noise. | Demand Change in Pink Noise[Opinions]= (Demand White Noise[Opinions] - Demand Pink Noise[Opinions])/Demand Noise Correlation Time ~ amount/Day/Day ~ Change in the pink noise value; Pink noise is a first order exponential smoothing \ delay of the white noise input. | Supply Noise Seed[Opinions]= 1 ~ Dimensionless ~ Random number generator seed. Vary to generate a different sequence of \ random numbers. | Amount Hedged Short= Amount Produced*Time to hedge ~ ammount ~ this is the quantity of material that needs to be hedged on the market | Market Maker's View of Price Direction from Opinions[Traders]= ZIDZ(SUM(Weighted Opinions[Traders,Opinions!]),SUM(Weights that matter[Traders,Opinions\ !])) ~ dmnl ~ this is the view of price direction the market maker has | Confidence in the Guess for Market Direction[Traders]= ABS(Weighted Anticipated Market Direction[Traders]) ~ fraction ~ this is the magnitude of the anticipated market change | Total Number of Contracts Coming to the Market Long= Contracts Hedged Long+Sum of New Long Positions+Sum of Exited Shorts ~ contracts ~ this is the numbe rof contracts comming to the market long | Total Number of Contracts coming to the market Short= Contracts Hedged Short+Sum of New Short Positions+Sum of Exited Longs ~ contracts ~ this is the total number of contracts comming to the market on the short \ side | Time to hedge= 1 ~ Day ~ this is the time it takes to bring hedges to the market | Exited Short Positions[Traders]= -1*Delayed Value of Short Positions[Traders]*Flag for Exiting Short[Traders] ~ contracts ~ this is the number of short contracts exited by each trader | Sum of Exited Longs= SUM(Exited Long Positions[Traders!]) ~ contracts ~ this is the total number of exited long contracts by all traders | Flag for Exiting Long[Traders]= IF THEN ELSE(Delayed Value of Long Positions[Traders]-Long Positions[Traders]=Delayed Value of Long Positions\ [Traders], 1 , 0 ) ~ dmnl ~ This will check for a speculator exiting a long position | Flag for Exiting Short[Traders]= IF THEN ELSE(Delayed Value of Short Positions[Traders]-Short Positions[Traders]=Delayed Value of Short Positions\ [Traders], 1 , 0 ) ~ dmnl ~ this is a flag that will trip when a trader exits a short position | Exited Long Positions[Traders]= Delayed Value of Long Positions[Traders]*Flag for Exiting Long[Traders] ~ contracts ~ this is the number of long contracts exited by each trader | Sum of Exited Shorts= SUM(Exited Short Positions[Traders!]) ~ contracts ~ this is the sum of the vector of exited short positions, it is the total \ number of contracts exited from short by every trader | "Average Profit/Loss traders 11-20"= ("Cumulative Profit/Loss"[t11]+"Cumulative Profit/Loss"[t12]+"Cumulative Profit/Loss"\ [t13]+"Cumulative Profit/Loss"[t14 ]+"Cumulative Profit/Loss"[t15]+"Cumulative Profit/Loss"[t16]+"Cumulative Profit/Loss"\ [t17]+"Cumulative Profit/Loss"[t18 ]+"Cumulative Profit/Loss"[t19]+"Cumulative Profit/Loss"[t20])/10 ~ dollar ~ this is the average proift or loss of the middle ten traders | "Average Profit/Loss traders 21-30"= ("Cumulative Profit/Loss"[t21]+"Cumulative Profit/Loss"[t22]+"Cumulative Profit/Loss"\ [t23]+"Cumulative Profit/Loss"[t24 ]+"Cumulative Profit/Loss"[t25]+"Cumulative Profit/Loss"[t26]+"Cumulative Profit/Loss"\ [t27]+"Cumulative Profit/Loss"[t28 ]+"Cumulative Profit/Loss"[t29]+"Cumulative Profit/Loss"[t30])/10 ~ dollars ~ this is the average profit loss for the last third of the traders | "Average Profit/Loss Traders 1-10"= ("Cumulative Profit/Loss"[t1]+"Cumulative Profit/Loss"[t2]+"Cumulative Profit/Loss"[\ t3]+"Cumulative Profit/Loss"[t4]+"Cumulative Profit/Loss" [t5]+"Cumulative Profit/Loss"[t6]+"Cumulative Profit/Loss"[t7]+"Cumulative Profit/Loss"\ [t8]+"Cumulative Profit/Loss"[t9] +"Cumulative Profit/Loss"[t10])/10 ~ dollars ~ this is the average profit loss of the first ten traders | "Cumulative Profit/Loss"[Traders]= Capital[Traders]-Initial Capital[Traders] ~ dollars ~ this is the cumulative profit loss of each trader | Shorter Smooth of Price [Traders]= SMOOTH(Price, Short Smoothing Time[Traders]) ~ dollars/contract ~ | time for price to move= 1 ~ Day ~ this is the time that equalizes the units for price movement | Price= INTEG ( +Price Movement, Initial Price) ~ dollars/contract ~ this is the price | Difference Between Current Price and Price Traded[Traders]= (Price-Price Traded[Traders]) ~ dollars/contract ~ this is the difference between the current price and the price that the \ traders who have positions traded | If Trade Initiated read in Price[Traders]= IF THEN ELSE("Trade Entered?"[Traders]=1, Price , 0 )/Time to record price information ~ dollars/contract/Day ~ this will read in the current price if the flag for entering a trade is \ flipped | Longer Smooth of Price [Traders]= SMOOTH(Price, Long smoothing time[Traders] ) ~ dollars/contract ~ this is a moving average exponentially smoothed at some time horizon. | Minimum Demand possible= 1 ~ amount/Day ~ this is the minimum amount demanded | Confidence[Traders]= Min(IF THEN ELSE("Fundamental vs. Technical Flag"[Traders]=1,Confidence in the Guess for Market Direction\ [Traders]+Trader Overconfidence Factor[Traders],Confidence in the case of Technical Analysis\ [Traders]+Trader Overconfidence Factor[Traders]),1) ~ fraction ~ this is how confident each trader is in his or her bet, the if then else \ form allows for reading in the right confidence for each trader | Confidence in the case of Technical Analysis[Traders]= 0.5 ~ fraction ~ this is the confidence the trader has in the case of them being a tech \ trader | Trader Overconfidence Factor[Traders]= 0 ~ dmnl ~ this increases the confidence of the traders in the model | Forecast Demand[Opinions]= MAX(FORECAST(Smooth of Observed Demand[Opinions], Forecast backwards averaging time[\ Opinions] , Forecast forward horizon time [Opinions]),Minimum Demand possible) ~ amount/Day ~ this is the value of demand the opinion maker forecasts in the forward \ horizon time by viewing the trend back averaging time days | All Fundamental[Traders]= 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ~ dmnl ~ this represents the entirely fundamental case | All Technical[Traders]= 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ~ dmnl ~ this is the hard coded all technical case | Half Fundamental Half Technical[Traders]= 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ~ dmnl ~ this is the half fundamental half technical case | "Switch on Technical?"= 0 ~ dmnl ~ this switches on Technical Analysis, only one or zero please. | Is Trading Occuring= IF THEN ELSE("Switch on Fundamental?"=0:AND:"Switch on Technical?"=0, 0 , 1 ) ~ dollars ~ this will modify the initial capital so that it is zero if no trading has \ been selected | "Fundamental vs. Technical Flag"[Traders]= Subscripts for Traders[Traders] ~ dmnl [0,1] ~ this weighting should be 1 if the traders are purely fundamental and 0 if \ they are purely technical | "Switch on Fundamental?"= 1 ~ dmnl ~ thins switches on fundamental trading, please one or zero only | Subscripts for Traders[Traders]= IF THEN ELSE("Switch on Fundamental?"=1:AND:"Switch on Technical?"=1, Half Fundamental Half Technical\ [Traders] , IF THEN ELSE("Switch on Fundamental?"=0:AND:"Switch on Technical?"=1, All Technical\ [Traders] , All Fundamental[Traders])) ~ dmnl ~ this sets the three scenarios for the spectrum of traders... more should \ be added, It is a chance for future research | Initial Capital[Traders]= 10000*Is Trading Occuring ~ dollars ~ this is the initial capital each trader has | Forecast forward horizon time[Opinions]= 3 ~ Day ~ this is the forward looking horizon the opinion maker uses for thier \ forcast | "Bullish or Bearish?"[Opinions]= IF THEN ELSE(Trend of the Forecast Carry out to Use[Opinions]>0, -1 , 1 ) ~ dmnl ~ this will return a 1 when the opinion maker thinks that carry out to use \ is falling which indicates a bullish market and a -1 when the opinion \ maker would think that there is a bearish market | Forecast backwards averaging time[Opinions]= 2 ~ Day ~ this is the averaging time for the forecast | Magnitude of the Trend[Opinions]= ABS(Trend of the Forecast Carry out to Use[Opinions]) ~ fraction/Day ~ this is the magnitude of the trend | Fundamental Analysis Price Direction Opinion from Trend[Opinions]= "Bullish or Bearish?"[Opinions]*"Is an Opinion Produced?"[Opinions] ~ dmnl ~ this will be a 1 for a bullish market and a -1 for a bearish one, but a 0 \ for no opinion | Difference between Flag for desiring to Trade and its delayed Value[Traders]= Flag for desiring to trade[Traders]-Delayed Value of Flag for Desiring to Trade[Traders\ ] ~ dmnl ~ this is the simple difference of the two variables, it records a change in \ the variables | Forecast Carry Out[Opinions]= FORECAST(Smooth of Observed Carry Out[Opinions], Forecast backwards averaging time[Opinions\ ] , Forecast forward horizon time[Opinions] ) ~ amount ~ this is the forecast supply | Delayed Value of Flag for Desiring to Trade[Traders]= DELAY FIXED ( Flag for desiring to trade[Traders], TIME STEP , 0) ~ dmnl ~ this delays the value of flag for desiring to trade by one time step so \ that changes can be noticed | Trend of the Forecast Carry out to Use[Opinions]= TREND(Forecast Carry Out to Use Ratio[Opinions], Averaging Time for the Trend Estimation\ [Opinions] , Initial Trend [Opinions]) ~ fraction/Day ~ this is the fractional growth rate of the observed carry out to use \ smoothed to represent the decision maker's delay in changing their opinions | Is the trader trading fundamentally or technically[Traders]= "Fundamental vs. Technical Flag"[Traders] ~ dmnl ~ this is a 1 when the trader is trading fundamentally and a zero when they \ arent | Initial Trend[Opinions]= 0 ~ fraction/Day ~ this is the initial trend for the trend function | "Is an Opinion Produced?"[Opinions]= IF THEN ELSE(Magnitude of the Trend[Opinions]>=Minimum Trend Magnitude that will produce an opinion\ [Opinions], 1 , 0 ) ~ dmnl ~ this is a flag for when an opinion maker will produce an opinion | Averaging Time for the Trend Estimation[Opinions]= 3 ~ Day ~ this is the averaging time for the trend function looking at the smooth of \ observed Carry out to use... if carry out to use is growing the market is \ likely bearish, whereas if it is decreasing the market is bullish | Smoothing Time for Observing Carry Out and Demand[Opinions]= 2 ~ Day ~ this is the smoothing time for the opinion makers to observe supply and \ demand | Minimum Trend Magnitude that will produce an opinion[Opinions]= 0.03 ~ fraction/Day ~ this is the minimum magnitude of the trend in carry out to use that will \ induce each opinion maker to produce an opinion | "Opinion Reversal?"[Traders]= IF THEN ELSE(ABS(Difference of Opinion between Market Direction and its delayed value\ [Traders])>1:AND:Flag for desiring to trade[Traders]=1, 1, 0 )*Delayed Value of Flag for Desiring to Trade\ [Traders] ~ dmnl ~ this will return a 1 if there has been a recent reversal of opinion by the \ trader about price, this will trigger the trader to both exit their old \ trade and enter a new one | Technical Flag for desiring to trade[Traders]= 1 ~ dmnl ~ this is the technichal flag for desiring to trade. | Flag for desiring to trade[Traders]= IF THEN ELSE(Is the trader trading fundamentally or technically[Traders]=1, Fundamental Flag for Desiring to Trade\ [Traders] , Technical Flag for desiring to trade[Traders] ) ~ dmnl ~ this is the flag for desiring to trade in the one strategy universe | Positions[Traders]= Combined Opinion of each Trader on Market Direction[Traders]*Size of Positions[Traders\ ]*Flag for desiring to trade[Traders] ~ contracts ~ this is the vector storing the positions of each of the traders | Fraction of total capital commited on each trade[Traders]= IF THEN ELSE(Confidence[Traders]<=1, Confidence[Traders] , 1 ) ~ fraction ~ this is the percent of their total resources that will be invested each \ time the trader has an opinion about the market | Combined Opinion of each Trader on Market Direction[Traders]= Fundamental Opinion of each Trader on Market Direction[Traders]*"Fundamental vs. Technical Flag"\ [Traders] +(1-"Fundamental vs. Technical Flag"[Traders])*Technical Analysis driven Opinions on Market Direction [Traders] ~ dmnl ~ this is each traders combined opinion on market direction | Difference of Opinion between Market Direction and its delayed value[Traders]= Combined Opinion of each Trader on Market Direction[Traders]-Delayed Value of Market Direction Opinion\ [Traders] ~ dmnl ~ this will return the difference of those two varaibles | Technical Analysis driven Opinions on Market Direction[Traders]= "Short Moving Average Above Long?"[Traders] ~ dmnl ~ this is the opinion of each market maker on the direction of the market \ given by technical analysis | Fundamental Opinion of each Trader on Market Direction[Traders]= Bearish Flag for Anticipated Market Change[Traders]+Bullish Flag for Anticipated Market Change\ [Traders] ~ dmnl ~ this vector will store a 1 when the trader is bullish, a negative 1 when \ the trader is bearish and a zero when the trader is neither bulish of \ bearish | Delayed Value of Market Direction Opinion[Traders]= DELAY FIXED ( Combined Opinion of each Trader on Market Direction[Traders], TIME STEP , 0) ~ dmnl ~ this will delay the opinion of each market maker by one time step so that \ it can be compared to the present value in order to discover when an \ opinion changes | "Short Moving Average Above Long?"[Traders]= IF THEN ELSE(Shorter Smooth of Price[Traders]>=Longer Smooth of Price[Traders], 1 , \ -1 ) ~ dmnl ~ this is a decision rule returning a 1 for a bullish sentiment when the \ short moving average is above the long and a -1 for the opposite and \ bearish situation | Total Number of Contracts Traded= Total Number of Contracts Coming to the Market Long+Total Number of Contracts coming to the market Short ~ contracts ~ this is the total volume on the exchange | Long Contracts Minus Short= Total Number of Contracts Coming to the Market Long-Total Number of Contracts coming to the market Short ~ contracts ~ this is the residual number of long contracts that came wanted to trade | Table for looking up the price move( [(-1,-30)-(1,30)],(-1,-30),(-0.730887,-28.1579),(-0.577982,-25.7895),(-0.449541,-23.1579\ ),(-0.333333,-18.4211),(-0.217125,-12.1053),(0,0),(0.155963,10),(0.333333,17.8947),\ (0.553517,23.9474),(0.767584,28.1579),(1,30)) ~ dollars/contract ~ this is the lookup table for the effect of the ratio of residual contracts \ to total volume on price\!\! | Ratio of Residual Contracts to Total Volume= Long Contracts Minus Short/Total Number of Contracts Traded ~ fraction ~ this ratio will be negative for bearish markets and positive for bullish \ ones, and will be roughly proportional to the strength of the bullish or \ bearishness | Price Move Today= Table for looking up the price move(Ratio of Residual Contracts to Total Volume) ~ dollars/contract ~ this is the price move we should see from todays action in the market | Initial Price= 150 ~ dollars/contract ~ this is the initial Price | Amount per contract= 1 ~ ammount/contract [0,60] ~ self explanitory | Amount Produced= MAX(DELAY3(Pressure on Production from Price, Time for Production to be affected by Price\ ),0) ~ amount/Day ~ this is the actual ammount that is produced | Flag for New Long Position[Traders]= IF THEN ELSE(ABS(Delayed Value of Long Positions[Traders]-Long Positions[Traders])>0\ , 1 , 0 ) ~ dmnl ~ this will return a 1 when a new long position has been created | Flag for New Short Position[Traders]= IF THEN ELSE(ABS(Delayed Value of Short Positions[Traders]-Short Positions[Traders])\ >0, 1,0) ~ dmnl ~ this will return a 1 when there is a new short position created | Carry out to Use Ratio= XIDZ(Carry Out,Demand,1000) ~ Day ~ this is the ratio of leftover supply to the demand | Contracts Hedged Long= Amount Hedged Long/Amount per contract ~ contracts ~ this is the number of contracts hedged long each day | Contracts Hedged Short= Amount Hedged Short/Amount per contract ~ contracts ~ this is the number of contracts per day that come to the market to be \ hedged short | Initial Supply= 1500 ~ ammount ~ this is the initial carry in | Delayed Value of Long Positions[Traders]= DELAY FIXED(Long Positions[Traders], TIME STEP, 0 ) ~ contracts ~ this is the value of Long Positions delayed one time step | Carry Out= INTEG ( Amount Produced-Demand, Initial Supply) ~ ammount ~ this is the supply left over in the market | Short Positions[Traders]= IF THEN ELSE(Positions[Traders]<=0, Positions[Traders] , 0 ) ~ contracts ~ this is the vector of only the short positions | Delayed Value of Short Positions[Traders]= DELAY FIXED(Short Positions[Traders], TIME STEP , 0) ~ contracts ~ this is the value od short positions delayed one time step | Demand= MAX(Min(DELAY3(Pressure on Demand from Price, Time for Demand to be affected by Price\ ), Carry Out/Time to Drain Supply),0) ~ amount/Day ~ this is the actual demand at this time, it is limited by the ammount of \ supply avalable | Time to Drain Supply= TIME STEP ~ Day ~ this is the min time for draining the supply, it imposes a limit on the \ max value for demand | New Long Positions[Traders]= Long Positions[Traders]*Flag for New Long Position[Traders] ~ contracts ~ this is the vector of only new long positions | Size of Positions[Traders]= ZIDZ(Capital[Traders],Price Traded[Traders])*Fraction of total capital commited on each trade\ [Traders] ~ contracts ~ this is the size of the position each trader will take | Sum of New Long Positions= SUM(New Long Positions[Traders!]) ~ contracts ~ this is the total number of long positions comming to the market | Sum of New Short Positions= -SUM(New Short Positions[Traders!]) ~ contracts ~ this is the sum of the new short positions in the market | Long Positions[Traders]= IF THEN ELSE( Positions[Traders]>=0 , Positions[Traders] , 0 ) ~ contracts ~ this is the vector of only the long positions | Static Lookup for Effect of Price on Production Capacity( [(0,0)-(400,400)],(0,0),(50.1529,10.5263),(81.9572,19.2982),(105.199,31.5789),(128.44\ ,52.6316),(155.352,94.7368),(179.817,143.86),(193.272,177.193),(200,200),(210.398,224.561\ ),(227.523,261.404),(248.318,301.754),(276.453,340.351),(320.489,378.947),(359.633,\ 392.982),(400,400)) ~ ammount/Day ~ lookup table for how price affects Production\!\!\! | Static Lookup for Effect of Price on Demand( [(0,0)-(300,300)],(0,300),(23.8532,296.053),(50.4587,282.895),(86.2385,251.316),(112.538\ ,213.158),(139.45,171.053),(152.294,150),(166.055,125),(187.156,92.1053),(214.679,60.5263\ ),(247.095,31.5789),(271.56,13.1579),(300,0)) ~ ammount/Day ~ this lookup table will give the effect of price on production\!\!\! | New Short Positions[Traders]= Short Positions[Traders]*Flag for New Short Position[Traders] ~ contracts ~ this is the vector holding only new positions that are also short | Time for Production to be affected by Price= 20 ~ days ~ this is the delayt time for changes in price to affect supply | Time for Demand to be affected by Price= 2 ~ Day ~ this is the time it takes for changes in price to affect demand | Weighted Anticipated Market Direction[Traders]= Market Maker's View of Price Direction from Opinions[Traders] ~ dmnl ~ this is the ammount that the trader believes the market will move given \ the information avalable to them | "Potential P&L"[Traders]= Difference Between Current Price and Price Traded[Traders]*Delayed Value of Positions\ [Traders] ~ dollars ~ this multiplies the positions of the traders by the price difference, \ giving the potential profit or loss if the trade were to be exited now | Delayed Value of Positions[Traders]= DELAY FIXED(Positions[Traders], TIME STEP , 0 ) ~ contracts ~ this is postions delayed one time step so that the P&L calculations can be \ based on the position the trader had when they exited their position | Time required to Exit a trade= TIME STEP ~ Day ~ this will equalize the units | "Trade Exited?"[Traders]= IF THEN ELSE(Difference between Flag for desiring to Trade and its delayed Value[Traders\ ]=-1:OR:"Opinion Reversal?"[Traders]=1, 1 , 0 ) ~ dmnl ~ this will produce a 1 when the trader no longer wishes to be in the trade \ initiated | "Trade Entered?"[Traders]= IF THEN ELSE(Difference between Flag for desiring to Trade and its delayed Value[Traders\ ]=1:OR:"Opinion Reversal?"[Traders]=1, 1, 0 ) ~ dmnl ~ the difference equaling negative 1 indicates a switch from value zero to \ value one for the variable during this timestep | If Trade Exited read out Price[Traders]= IF THEN ELSE("Trade Exited?"[Traders]=1, Price Traded[Traders] , 0 )/Time to record price information ~ dollars/contract/Day ~ this will drain the stock of the price traded when a trade is exited | Time to record price information= TIME STEP ~ Day ~ this will allow the above variables to have flow type units | Price Traded[Traders]= INTEG ( +If Trade Initiated read in Price[Traders]-If Trade Exited read out Price[Traders], 0) ~ dollars/contract ~ this is the price that was traded | Awareness Screen[Traders,Opinions]= 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1; \ 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1;\ 1,1,1,0,0,0,1,1,1,1; 1,1,1,0,0,0,1,1,1,1; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1,1\ ; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1,\ 1; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1,1; 0,0,0,1,1,1,1,1,1\ ,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1,\ 1,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1\ ,1,1; 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,1,1,1,1; ~ dmnl ~ this is a matrix of values with each row corresponding to a particular \ market maker and each colum a source of information potentially avalable \ to the trader. The values of the variable within the matrix can either be \ 1 or 0 denoting the market maker being aware or unaware of the \ information, respectively. | Bearish Flag for Anticipated Market Change[Traders]= IF THEN ELSE(Weighted Anticipated Market Direction[Traders]<=0, -1, 0) ~ dmnl ~ this is equal to one whenever the anticipated market change is bearish | Bullish Flag for Anticipated Market Change[Traders]= IF THEN ELSE(Weighted Anticipated Market Direction[Traders]>=0, 1, 0) ~ dmnl ~ this is equal to one whenever the anticipated market move is bullish | Fundamental Flag for Desiring to Trade[Traders]= IF THEN ELSE(Confidence in the Guess for Market Direction[Traders]>Smallest Confidence Level that will be traded\ [Traders], 1 , 0 ) ~ dmnl ~ this will be a 1 when the market maker wants to make a trade and a 0 when \ they do not | Long smoothing time[Traders]= 5,10,15,20,7,14,21,28,10,9,5,10,15,20,7,14,21,28,10,9,5,10,15,20,7,14,21,28,10,9 ~ Day ~ this is the long smoothing interval the traders use for price prediction | Weights that matter[Traders,Opinions]= Weights placed on Price Direction Opinions[Traders,Opinions]*Awareness Screen[Traders\ ,Opinions] ~ dmnl ~ this matrix will eliminate weights for information sources that the trader \ is not aware of | Short Smoothing Time[Traders]= 2,3,4,4,3,2,4,5,6,6,5,4,5,5,5,6,6,6,4,4,4,4,6,5,5,6,4,5,5,5 ~ Day ~ this is the short smoothing interval the trader uses for price change \ prediction | Smallest Confidence Level that will be traded[Traders]= 0.1 ~ fraction ~ this is the smallest anticipated change that each trader will trade | Traders: (t1-t30) ~ ~ | Weighted Opinions[Traders,Opinions]= Price Direction Opinions the Market Maker is Aware of[Traders,Opinions]*Weights that matter\ [Traders,Opinions] ~ dmnl ~ this is the matrix of weighted opinions | Weights placed on Price Direction Opinions[Traders, Opinions]= 9,4,6,0,0,0,7,3,8,1; 7,3,8,0,0,0,9,4,6,1; 9,8,9,0,0,0,1,7,3,8; 4,7,6,0,0,0,4,6,1,1; \ 9,5,5,0,0,0,1,4,6,1; 4,8,4,0,0,0,2,9,5,3; 9,3,4,0,0,0,7,6,2,1; 7,6,2,0,0,0,3,2,9,5;\ 1,2,9,0,0,0,9,4,9,5; 9,4,7,0,0,0,9,8,9,1; 0,0,0,9,6,3,3,9,4,6; 0,0,0,5,9,8,6,1,5,3\ ; 0,0,0,2,7,9,1,9,5,3; 0,0,0,7,6,3,1,9,8,9; 0,0,0,9,5,3,1,7,6,2; 0,0,0,2,4,6,1,5,3,\ 2; 0,0,0,8,3,2,6,3,1,9; 0,0,0,5,3,2,9,5,3,1; 0,0,0,1,2,3,5,3,2,1; 0,0,0,4,6,1,9,6,3\ ,3; 0,0,0,0,0,0,9,7,5,3; 0,0,0,0,0,0,7,5,3,1; 0,0,0,0,0,0,5,7,5,3; 0,0,0,0,0,0,5,9,5,3; \ 0,0,0,0,0,0,1,3,7,3; 0,0,0,0,0,0,2,5,9,5; 0,0,0,0,0,0,1,3,5,7; 0,0,0,0,0,0,3,5,7,9;\ 0,0,0,0,0,0,1,1,1,1; 0,0,0,0,0,0,4,8,4,8; ~ dmnl ~ this is a matrix of values with each row corresponding to a particular \ trader and each colum corresponding to the weight the trader places on \ each opinion of where price should be. These weights need not add up to \ one for each trader and only have meaning relative to each other. | Opinions: (o1-o10) ~ ~ | ******************************************************** .Control ********************************************************~ Simulation Control Parameters | FINAL TIME = 200 ~ Day ~ The final time for the simulation. | INITIAL TIME = 0 ~ Day ~ The initial time for the simulation. | SAVEPER = TIME STEP ~ Day [0,?] ~ The frequency with which output is stored. | TIME STEP = 0.25 ~ Day [0,?] ~ The time step for the simulation. | \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Supply and Demand $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Carry Out,571,194,57,40,3,131,0,0,0,0,0,0 12,2,48,846,191,10,8,0,3,0,0,-1,0,0,0 1,3,5,1,4,0,0,22,0,0,0,-1--1--1,,1|(677,191)| 1,4,5,2,100,0,0,22,0,0,0,-1--1--1,,1|(787,191)| 11,5,48,732,191,6,8,34,3,0,0,1,0,0,0 10,6,Amount Produced,732,220,46,21,40,3,0,0,-1,0,0,0 12,7,48,288,195,10,8,0,3,0,0,-1,0,0,0 1,8,10,7,4,0,0,22,0,0,0,-1--1--1,,1|(349,195)| 1,9,10,1,100,0,0,22,0,0,0,-1--1--1,,1|(463,195)| 11,10,48,406,195,6,8,34,3,0,0,1,0,0,0 10,11,Demand,406,215,39,12,40,3,0,0,-1,0,0,0 10,12,Pressure on Production from Price,797,303,74,31,8,3,0,0,0,0,0,0 1,13,12,6,1,0,0,0,0,64,0,-1--1--1,,1|(755,267)| 10,14,Static Lookup for Effect of Price on Production Capacity,1067,204,107,31,8,3,0,0,0,0,0,0 10,15,Pressure on Demand from Price,376,313,63,31,8,3,0,0,0,0,0,0 1,16,15,11,1,0,0,0,0,64,0,-1--1--1,,1|(370,263)| 10,17,Static Lookup for Effect of Price on Demand,148,358,79,31,8,3,0,0,0,0,0,0 10,18,Time for Demand to be affected by Price,333,77,92,21,8,3,0,0,0,0,0,0 10,19,Time for Production to be affected by Price,691,82,91,31,8,3,0,0,0,0,0,0 1,20,18,10,1,0,0,0,0,64,0,-1--1--1,,1|(397,136)| 1,21,19,5,1,0,0,0,0,64,0,-1--1--1,,1|(737,138)| 10,22,Initial Supply,571,278,59,12,8,3,0,0,-1,0,0,0 1,23,1,10,1,0,0,0,0,64,0,-1--1--1,,1|(456,166)| 10,24,TIME STEP,82,226,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,25,Time to Drain Supply,223,267,62,21,8,3,0,0,0,0,0,0 1,26,24,25,1,0,0,0,0,64,0,-1--1--1,,1|(130,261)| 1,27,25,11,1,0,0,0,0,64,0,-1--1--1,,1|(315,226)| 1,28,22,1,0,0,0,0,0,64,1,-1--1--1,,1|(571,257)| 10,29,Price,760,603,36,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,30,29,39,1,0,0,0,0,64,0,-1--1--1,,1|(784,547)| 10,31,Price,294,626,36,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,32,31,46,1,0,0,0,0,64,0,-1--1--1,,1|(335,580)| 10,33,Shape of the Demad Curve,156,462,64,21,8,3,0,0,0,0,0,0 10,34,Shape of the Production Curve,1024,458,81,21,8,3,0,0,0,0,0,0 10,35,Parameter for Stretch of the Demand Curve,466,620,69,31,8,3,0,0,0,0,0,0 10,36,Parameter for Stretch of the Production Curve,955,619,99,31,8,3,0,0,0,0,0,0 10,37,Parameter for Height of the Demand Curve,555,383,98,21,8,3,0,0,0,0,0,0 10,38,Parameter for Height of the Production Curve,1043,310,96,31,8,3,0,0,0,0,0,0 10,39,Production Scaled Price,839,511,58,21,8,3,0,0,0,0,0,0 1,40,36,39,1,0,0,0,0,64,0,-1--1--1,,1|(868,555)| 10,41,Indicated Production per Curve Height,837,419,68,31,8,3,0,0,0,0,0,0 1,42,39,41,1,0,0,0,0,64,0,-1--1--1,,1|(816,474)| 1,43,34,41,1,0,0,0,0,64,0,-1--1--1,,1|(922,454)| 1,44,41,12,1,0,0,0,0,64,0,-1--1--1,,1|(793,362)| 1,45,38,12,1,0,0,0,0,64,0,-1--1--1,,1|(912,324)| 10,46,Demand Scaled Price,350,523,58,21,8,3,0,0,0,0,0,0 1,47,35,46,1,0,0,0,0,64,0,-1--1--1,,1|(436,553)| 10,48,Indicated Demand per Curve Height,354,430,83,21,8,3,0,0,0,0,0,0 1,49,33,48,1,0,0,0,0,64,0,-1--1--1,,1|(235,431)| 1,50,46,48,1,0,0,0,0,64,0,-1--1--1,,1|(325,480)| 1,51,48,15,1,0,0,0,0,64,0,-1--1--1,,1|(343,378)| 1,52,37,15,1,0,0,0,0,64,0,-1--1--1,,1|(483,330)| 10,53,Switch on Demand Input,555,425,70,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,54,53,37,0,1,0,0,0,64,0,-1--1--1,,1|(555,404)| 10,55,Static Demand Curve Height,555,425,73,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,56,55,37,0,1,0,0,0,64,0,-1--1--1,,1|(555,404)| 10,57,Input for Demand Height,555,425,77,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,58,57,37,0,1,0,0,0,64,0,-1--1--1,,1|(555,404)| 10,59,Switch on Production Input,1043,362,82,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,60,59,38,0,1,0,0,0,64,0,-1--1--1,,1|(1043,341)| 10,61,Static Production Curve Height,1043,362,84,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,62,61,38,0,1,0,0,0,64,0,-1--1--1,,1|(1043,341)| 10,63,Input for Production Height,1043,362,50,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,64,63,38,0,1,0,0,0,64,0,-1--1--1,,1|(1043,343)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Trend Creation and Manipulation $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,100,0 10,1,Parameter for Height of the Demand Curve,310,137,98,21,8,3,0,0,-1,0,0,0 10,2,Parameter for Height of the Production Curve,880,156,96,31,8,3,0,0,-1,0,0,0 10,3,Input for Demand Height,275,401,109,12,0,3,0,0,-1,0,0,0 10,4,Pulse Quantity,447,331,66,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,5,Pulse Time,539,423,51,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,6,Ramp End Time,147,551,72,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,7,Ramp Slope,24,448,55,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,8,Ramp Start Time,48,502,75,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,9,Sine Amplitude,494,460,69,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,10,Sine Period,463,504,53,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,11,Step Height,269,557,53,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,12,Step Time,388,541,47,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,13,Time,52,389,35,12,0,2,0,3,-1,0,0,0,128-128-128,0-0-0,|12|B|128-128-128 1,14,4,3,0,0,0,0,0,0,0,-1--1--1,,1|(367,363)| 1,15,5,3,0,0,0,0,0,0,0,-1--1--1,,1|(442,415)| 1,16,6,3,0,0,0,0,0,0,0,-1--1--1,,1|(205,481)| 1,17,7,3,0,0,0,0,0,0,0,-1--1--1,,1|(137,426)| 1,18,8,3,0,0,0,0,0,0,0,-1--1--1,,1|(154,454)| 1,19,9,3,1,0,0,0,0,0,0,-1--1--1,,1|(391,432)| 1,20,10,3,0,0,0,0,0,0,0,-1--1--1,,1|(375,455)| 1,21,11,3,0,0,0,0,0,0,0,-1--1--1,,1|(271,485)| 1,22,12,3,0,0,0,0,0,0,0,-1--1--1,,1|(335,476)| 1,23,13,3,0,0,0,0,0,0,0,-1--1--1,,1|(119,392)| 10,24,Pulse Duration,540,371,40,21,8,3,0,0,-1,0,0,0 1,25,24,3,0,0,0,0,0,64,0,-1--1--1,,1|(447,381)| 10,26,Input for Production Height,936,393,120,12,0,3,0,0,-1,0,0,0 10,27,Pulse QuantityS,1108,323,72,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,28,Pulse TimeS,1200,415,57,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,29,Ramp End TimeS,808,543,78,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,30,Ramp SlopeS,685,440,61,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,31,Ramp Start TimeS,709,494,81,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,32,Sine AmplitudeS,1155,452,75,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,33,Sine PeriodS,1124,496,59,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,34,Step HeightS,951,563,59,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,35,Step TimeS,1049,533,53,12,0,3,0,1,-1,0,0,0,128-128-128,0-0-0,|12|B|0-0-0 10,36,Time,713,381,35,12,0,2,0,3,-1,0,0,0,128-128-128,0-0-0,|12|B|128-128-128 1,37,27,26,0,0,0,0,0,0,0,-1--1--1,,1|(1028,355)| 1,38,28,26,0,0,0,0,0,0,0,-1--1--1,,1|(1106,407)| 1,39,29,26,0,0,0,0,0,0,0,-1--1--1,,1|(866,473)| 1,40,30,26,0,0,0,0,0,0,0,-1--1--1,,1|(801,418)| 1,41,31,26,0,0,0,0,0,0,0,-1--1--1,,1|(815,446)| 1,42,32,26,1,0,0,0,0,0,0,-1--1--1,,1|(1052,424)| 1,43,33,26,0,0,0,0,0,0,0,-1--1--1,,1|(1036,447)| 1,44,34,26,0,0,0,0,0,0,0,-1--1--1,,1|(944,484)| 1,45,35,26,0,0,0,0,0,0,0,-1--1--1,,1|(996,468)| 1,46,36,26,0,0,0,0,0,0,0,-1--1--1,,1|(775,383)| 10,47,Pulse DurationS,1201,363,46,21,8,3,0,0,-1,0,0,0 1,48,47,26,0,0,0,0,0,64,0,-1--1--1,,1|(1105,373)| 1,49,3,1,1,0,0,0,0,64,0,-1--1--1,,1|(239,277)| 1,50,26,2,1,0,0,0,0,64,0,-1--1--1,,1|(952,281)| 10,51,Static Demand Curve Height,85,164,67,21,8,3,0,0,0,0,0,0 10,52,Static Production Curve Height,1107,179,79,21,8,3,0,0,0,0,0,0 1,53,51,1,1,0,0,0,0,64,0,-1--1--1,,1|(171,133)| 1,54,52,2,1,0,0,0,0,64,0,-1--1--1,,1|(1005,139)| 10,55,Switch on Demand Input,475,206,65,21,8,3,0,0,0,0,0,0 10,56,Switch on Production Input,708,211,76,21,8,3,0,0,0,0,0,0 1,57,55,1,1,0,0,0,0,64,0,-1--1--1,,1|(447,156)| 1,58,56,2,1,0,0,0,0,64,0,-1--1--1,,1|(754,150)| 10,59,Constant Value,140,332,42,21,8,3,0,0,0,0,0,0 10,60,Constant ValueS,854,327,42,21,8,3,0,0,0,0,0,0 1,61,59,3,0,0,0,0,0,64,0,-1--1--1,,1|(209,367)| 1,62,60,26,0,0,0,0,0,64,0,-1--1--1,,1|(895,360)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Short Positions $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Amount Produced,976,173,50,21,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,2,Amount Hedged Short,981,274,64,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,3,1,2,1,0,0,0,0,64,0,-1--1--1,,1|(983,225)| 1,4,2,8,0,0,0,0,0,64,0,-1--1--1,,1|(994,318)| 10,5,Positions,220,79,54,12,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,6,Short Positions,340,162,43,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,7,Amount per contract,1231,378,55,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,8,Contracts Hedged Short,1013,376,64,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,9,7,8,1,0,0,0,0,64,0,-1--1--1,,1|(1115,399)| 1,10,5,6,1,0,0,0,0,64,0,-1--1--1,,1|(293,99)| 10,11,New Short Positions,459,287,48,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,12,6,11,1,0,0,0,0,64,0,-1--1--1,,1|(422,204)| 10,13,Sum of New Short Positions,677,307,70,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,14,11,13,1,0,0,0,0,64,0,-1--1--1,,1|(571,260)| 10,15,Total Number of Contracts coming to the market Short,773,418,102,31,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,16,13,15,1,0,0,0,0,64,0,-1--1--1,,1|(725,344)| 1,17,8,15,1,0,0,0,0,64,0,-1--1--1,,1|(916,407)| 10,18,"Trade Entered?",451,303,48,21,8,2,1,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,19,Delayed Value of Short Positions,230,267,79,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,20,6,19,1,0,0,0,0,64,0,-1--1--1,,1|(274,197)| 10,21,TIME STEP,128,185,31,21,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 1,22,21,19,1,0,0,0,0,64,0,-1--1--1,,1|(186,217)| 10,23,Flag for New Short Position,327,356,65,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,24,19,23,1,0,0,0,0,64,0,-1--1--1,,1|(231,316)| 1,25,6,23,1,0,0,0,0,64,0,-1--1--1,,1|(355,259)| 1,26,23,11,1,0,0,0,0,64,0,-1--1--1,,1|(409,344)| 10,27,Exited Long Positions,471,473,56,21,8,3,0,0,0,0,0,0 10,28,Delayed Value of Long Positions,126,550,84,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,29,Long Positions,252,653,49,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,30,Flag for Exiting Long,325,552,58,21,8,3,0,0,0,0,0,0 1,31,28,30,1,0,0,0,0,64,0,-1--1--1,,1|(229,525)| 1,32,29,30,1,0,0,0,0,64,0,-1--1--1,,1|(301,608)| 1,33,28,27,1,0,0,0,0,64,0,-1--1--1,,1|(279,466)| 1,34,30,27,1,0,0,0,0,64,0,-1--1--1,,1|(431,530)| 10,35,Sum of Exited Longs,553,398,65,21,8,3,0,0,0,0,0,0 1,36,27,35,1,0,0,0,0,64,0,-1--1--1,,1|(489,432)| 1,37,35,15,0,0,0,0,0,64,0,-1--1--1,,1|(637,404)| 10,38,Time to hedge,1124,254,41,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,39,38,2,0,0,0,0,0,64,0,-1--1--1,,1|(1070,260)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Long Positions $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Amount Hedged Long,231,453,62,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,2,Contracts Hedged Long,444,370,62,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,3,Amount per contract,267,261,60,21,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 1,4,1,2,1,0,0,0,0,64,0,-1--1--1,,1|(318,395)| 1,5,3,2,1,0,0,0,0,64,0,-1--1--1,,1|(371,296)| 10,6,Total Number of Contracts Coming to the Market Long,657,295,103,31,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,7,2,6,1,0,0,0,0,64,0,-1--1--1,,1|(512,320)| 10,8,Positions,1206,633,54,12,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,9,Long Positions,1126,537,43,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,10,New Long Positions,965,516,47,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,11,Sum of New Long Positions,802,419,69,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,12,8,9,1,0,0,0,0,64,0,-1--1--1,,1|(1204,578)| 1,13,9,10,1,0,0,0,0,64,0,-1--1--1,,1|(1040,560)| 1,14,10,11,1,0,0,0,0,64,0,-1--1--1,,1|(906,454)| 1,15,11,6,1,0,0,0,0,64,0,-1--1--1,,1|(755,353)| 10,16,"Trade Entered?",987,524,48,21,8,2,1,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,17,TIME STEP,1308,528,31,21,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,18,Delayed Value of Long Positions,1257,423,79,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,19,17,18,1,0,0,0,0,64,0,-1--1--1,,1|(1272,482)| 1,20,9,18,1,0,0,0,0,64,0,-1--1--1,,1|(1202,509)| 10,21,Flag for New Long Position,1064,382,64,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,22,9,21,1,0,0,0,0,64,0,-1--1--1,,1|(1116,466)| 1,23,18,21,1,0,0,0,0,64,0,-1--1--1,,1|(1165,379)| 1,24,21,10,1,0,0,0,0,64,0,-1--1--1,,1|(1000,423)| 10,25,Total Number of Contracts coming to the market Short,487,279,102,31,8,2,1,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,26,Demand,68,543,50,12,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,27,Delayed Value of Short Positions,1199,114,84,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14|B|128-128-128 10,28,Short Positions,1059,227,49,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,29,Flag for Exiting Short,1003,123,60,21,8,3,0,0,0,0,0,0 1,30,27,29,1,0,0,0,0,64,0,-1--1--1,,1|(1090,123)| 1,31,28,29,1,0,0,0,0,64,0,-1--1--1,,1|(1050,168)| 10,32,Exited Short Positions,861,102,57,21,8,3,0,0,0,0,0,0 10,33,Sum of Exited Shorts,727,161,65,21,8,3,0,0,0,0,0,0 1,34,29,32,1,0,0,0,0,64,0,-1--1--1,,1|(931,94)| 1,35,32,33,1,0,0,0,0,64,0,-1--1--1,,1|(794,101)| 1,36,33,6,1,0,0,0,0,64,0,-1--1--1,,1|(662,213)| 1,37,27,32,1,0,0,0,0,64,0,-1--1--1,,1|(1020,54)| 10,38,Time to hedge,253,565,35,21,8,3,0,0,0,0,0,0 1,39,38,1,1,0,0,0,0,64,0,-1--1--1,,1|(267,507)| 1,40,26,1,1,0,0,0,0,64,0,-1--1--1,,1|(122,489)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Price Determination $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Carry Out,620,559,55,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14|B|128-128-128 10,2,Demand,326,570,50,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,3,Carry out to Use Ratio,491,485,55,21,8,3,0,0,0,0,0,0 1,4,1,3,1,0,0,0,0,64,0,-1--1--1,,1|(569,497)| 1,5,2,3,1,0,0,0,0,64,0,-1--1--1,,1|(374,563)| 10,6,Long Contracts Minus Short,411,208,70,21,8,3,0,0,0,0,0,0 10,7,Total Number of Contracts Traded,190,199,79,21,8,3,0,0,0,0,0,0 10,8,Ratio of Residual Contracts to Total Volume,709,187,81,31,8,3,0,0,0,0,0,0 1,9,6,8,1,0,0,0,0,64,0,-1--1--1,,1|(541,163)| 10,10,Total Number of Contracts Traded,606,57,85,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,11,10,8,1,0,0,0,0,64,0,-1--1--1,,1|(662,110)| 10,12,Price Move Today,905,170,52,21,8,3,0,0,0,0,0,0 1,13,8,12,1,0,0,0,0,64,0,-1--1--1,,1|(805,155)| 10,14,Table for looking up the price move,1008,57,84,21,8,3,0,0,0,0,0,0 1,15,14,12,1,0,0,0,0,64,0,-1--1--1,,1|(966,121)| 10,16,Initial Price,1072,219,51,12,8,3,0,0,0,0,0,0 10,17,Price,1013,289,40,20,3,3,0,0,0,0,0,0 12,18,48,864,285,10,8,0,3,0,0,-1,0,0,0 1,19,21,17,4,0,0,22,0,0,0,-1--1--1,,1|(949,285)| 1,20,21,18,100,0,0,22,0,0,0,-1--1--1,,1|(894,285)| 11,21,48,920,285,6,8,34,3,0,0,1,0,0,0 10,22,Price Movement,920,314,49,21,40,3,0,0,-1,0,0,0 1,23,16,17,0,0,0,0,0,64,1,-1--1--1,,1|(1050,244)| 1,24,12,21,1,0,0,0,0,64,0,-1--1--1,,1|(929,222)| 10,25,time for price to move,909,400,62,21,8,3,0,0,0,0,0,0 1,26,25,22,1,0,0,0,0,64,0,-1--1--1,,1|(921,359)| 10,27,Total Number of Contracts coming to the market Short,765,326,102,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,28,Total Number of Contracts Coming to the Market Long,765,326,103,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,29,Total Number of Contracts Coming to the Market Long,393,397,103,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,30,Total Number of Contracts coming to the market Short,393,397,102,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,31,Total Number of Contracts Coming to the Market Long,135,298,103,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,32,Total Number of Contracts coming to the market Short,146,83,102,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,33,32,7,1,0,0,0,0,64,0,-1--1--1,,1|(192,141)| 1,34,31,7,1,0,0,0,0,64,0,-1--1--1,,1|(189,227)| 1,35,32,6,1,0,0,0,0,64,0,-1--1--1,,1|(297,122)| 1,36,31,6,1,0,0,0,0,64,0,-1--1--1,,1|(327,265)| 1,37,17,22,1,0,0,0,0,64,0,-1--1--1,,1|(1001,323)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Technical Analysis $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Longer Smooth of Price,215,321,74,31,8,3,0,0,0,0,0,0 10,2,Long smoothing time,146,201,75,21,8,3,0,0,-1,0,0,0 1,3,2,1,1,0,0,0,0,64,0,-1--1--1,,1|(152,255)| 10,4,Short Smoothing Time,331,129,78,21,8,3,0,0,0,0,0,0 10,5,Shorter Smooth of Price,557,236,84,31,8,3,0,0,0,0,0,0 1,6,4,5,1,0,0,0,0,64,0,-1--1--1,,1|(454,152)| 10,7,Weighted Anticipated Market Direction,231,348,75,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,8,Weighted Anticipated Market Direction,541,272,75,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,9,Initial Price,428,462,31,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,10,Price Move Today,428,462,58,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,11,"Short Moving Average Above Long?",433,431,72,31,8,3,0,0,0,0,0,0 1,12,1,11,1,0,0,0,0,64,0,-1--1--1,,1|(296,397)| 1,13,5,11,1,0,0,0,0,64,0,-1--1--1,,1|(532,325)| 10,14,Bearish Flag for Anticipated Market Change,532,628,86,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,15,Bullish Flag for Anticipated Market Change,532,628,86,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,16,Technical Analysis driven Opinions on Market Direction,528,573,87,31,8,3,0,0,0,0,0,0 1,17,11,16,1,0,0,0,0,64,0,-1--1--1,,1|(507,483)| 10,18,Price,95,402,36,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,19,18,1,1,0,0,0,0,64,0,-1--1--1,,1|(122,342)| 10,20,Price,734,249,36,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,21,20,5,1,0,0,0,0,64,0,-1--1--1,,1|(673,218)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Opinion Maker Sampling of Demand $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Demand,603,374,50,12,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,2,Carry Out,1199,294,55,12,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 10,3,Observed Demand,419,400,46,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,4,Observed Carry Out,1068,400,46,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,5,2,4,1,0,0,0,0,64,0,-1--1--1,,1|(1138,336)| 1,6,1,3,1,0,0,0,0,64,0,-1--1--1,,1|(533,404)| 10,7,Demand Pink Noise,338,240,52,25,3,131,0,0,0,0,0,0 12,8,48,537,238,10,8,0,3,0,0,-1,0,0,0 10,9,Demand White Noise,433,165,68,21,8,3,0,0,0,0,0,0 10,10,Demand Noise Standard Deviation,340,62,87,21,8,3,0,0,0,0,0,0 10,11,TIME STEP,252,140,61,12,0,2,0,3,-1,0,0,0,128-128-128,0-0-0,|12|B|128-128-128 11,12,156,483,238,6,8,34,3,0,0,1,0,0,0 10,13,Demand Change in Pink Noise,483,266,77,21,40,3,0,0,0,0,0,0 10,14,Demand Noise Correlation Time,589,158,77,21,8,3,0,0,0,0,0,0 1,15,12,7,4,0,0,22,0,0,0,-1--1--1,,1|(433,238)| 1,16,12,8,100,0,0,22,0,0,0,-1--1--1,,1|(508,238)| 1,17,7,13,2,0,0,0,0,0,0,-1--1--1,,1|(416,293)| 1,18,9,12,2,0,0,0,0,0,0,-1--1--1,,1|(442,198)| 1,19,14,13,2,0,0,0,0,0,0,-1--1--1,,1|(596,222)| 1,20,14,9,1,0,0,0,0,0,0,-1--1--1,,1|(504,190)| 1,21,11,9,1,0,0,0,0,0,0,-1--1--1,,1|(325,176)| 1,22,10,9,1,0,0,0,0,0,0,-1--1--1,,1|(373,115)| 10,23,Demand Noise Seed,501,97,68,21,8,3,0,0,-1,0,0,0 10,24,Supply Pink Noise,859,264,52,25,3,131,0,0,0,0,0,0 12,25,48,1058,262,10,8,0,3,0,0,-1,0,0,0 10,26,Supply White Noise,954,189,61,21,8,3,0,0,0,0,0,0 10,27,Supply Noise Standard Deviation,838,90,87,21,8,3,0,0,0,0,0,0 10,28,TIME STEP,786,178,61,12,0,2,0,3,-1,0,0,0,128-128-128,0-0-0,|12|B|128-128-128 11,29,156,1004,262,6,8,34,3,0,0,1,0,0,0 10,30,Supply Change in Pink Noise,1004,290,70,21,40,3,0,0,0,0,0,0 10,31,Supply Noise Correlation Time,1103,192,77,21,8,3,0,0,0,0,0,0 1,32,29,24,4,0,0,22,0,0,0,-1--1--1,,1|(954,262)| 1,33,29,25,100,0,0,22,0,0,0,-1--1--1,,1|(1029,262)| 1,34,24,30,2,0,0,0,0,0,0,-1--1--1,,1|(937,317)| 1,35,26,29,2,0,0,0,0,0,0,-1--1--1,,1|(963,222)| 1,36,31,30,2,0,0,0,0,0,0,-1--1--1,,1|(1106,239)| 1,37,31,26,1,0,0,0,0,0,0,-1--1--1,,1|(1017,225)| 1,38,28,26,1,0,0,0,0,0,0,-1--1--1,,1|(855,204)| 1,39,27,26,1,0,0,0,0,0,0,-1--1--1,,1|(870,141)| 10,40,Supply Noise Seed,1002,116,61,21,8,3,0,0,-1,0,0,0 1,41,7,3,1,0,0,0,0,64,0,-1--1--1,,1|(351,315)| 1,42,24,4,1,0,0,0,0,64,0,-1--1--1,,1|(928,360)| 1,43,23,9,0,0,0,0,0,64,0,-1--1--1,,1|(471,126)| 1,44,40,26,0,0,0,0,0,64,0,-1--1--1,,1|(982,146)| 10,45,"Make an Observation?",173,508,62,21,8,3,0,0,0,0,0,0 10,46,observation interval,123,609,55,21,8,3,0,0,-1,0,0,0 1,47,46,45,1,0,0,0,0,64,0,-1--1--1,,1|(127,544)| 10,48,Time,133,420,35,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,49,48,45,1,0,0,0,0,64,0,-1--1--1,,1|(160,443)| 10,50,Current Value of Observed Demand used for Estimation,437,656,99,44,3,131,0,0,0,0,0,0 12,51,48,177,660,10,8,0,3,0,0,-1,0,0,0 1,52,54,50,4,0,0,22,0,0,0,-1--1--1,,1|(303,660)| 1,53,54,51,100,0,0,22,0,0,0,-1--1--1,,1|(221,660)| 11,54,48,262,660,6,8,34,3,0,0,1,0,0,0 10,55,Read in Demand,262,689,39,21,40,3,0,0,-1,0,0,0 12,56,48,669,656,10,8,0,3,0,0,-1,0,0,0 1,57,59,56,4,0,0,22,0,0,0,-1--1--1,,1|(631,656)| 1,58,59,50,100,0,0,22,0,0,0,-1--1--1,,1|(563,656)| 11,59,48,597,656,6,8,34,3,0,0,1,0,0,0 10,60,Read out Demand,597,685,42,21,40,3,0,0,-1,0,0,0 1,61,45,54,1,0,0,0,0,64,0,-1--1--1,,1|(228,579)| 10,62,"Make an Observation?",816,575,68,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,63,Current Value of Observed Carry Out used for Estimation,1099,654,93,44,3,131,0,0,0,0,0,0 1,64,65,63,4,0,0,22,0,0,0,-1--1--1,,1|(967,663)| 11,65,396,923,663,6,8,34,3,0,0,1,0,0,0 10,66,Read in Carry Out,923,692,63,21,40,3,0,0,-1,0,0,0 12,67,48,1331,654,10,8,0,3,0,0,-1,0,0,0 1,68,70,67,4,0,0,22,0,0,0,-1--1--1,,1|(1291,654)| 1,69,70,63,100,0,0,22,0,0,0,-1--1--1,,1|(1221,654)| 11,70,48,1256,654,6,8,34,3,0,0,1,0,0,0 10,71,Read out Carry Out,1256,683,45,21,40,3,0,0,-1,0,0,0 1,72,62,65,1,0,0,0,0,64,0,-1--1--1,,1|(897,618)| 1,73,54,59,1,0,0,0,0,64,0,-1--1--1,,1|(419,578)| 1,74,65,70,1,0,0,0,0,64,0,-1--1--1,,1|(1089,574)| 10,75,observation interval,744,696,61,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,76,observation interval,1352,739,61,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,77,75,60,1,0,0,0,0,64,0,-1--1--1,,1|(648,722)| 1,78,76,71,1,0,0,0,0,64,0,-1--1--1,,1|(1288,730)| 10,79,TIME STEP,182,761,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,80,TIME STEP,915,777,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,81,79,55,0,0,0,0,0,64,0,-1--1--1,,1|(216,729)| 1,82,80,66,0,0,0,0,0,64,0,-1--1--1,,1|(917,741)| 12,83,48,1159,807,10,8,0,3,0,0,-1,0,0,0 1,84,86,83,4,0,0,22,0,0,0,-1--1--1,,1|(1161,773)| 1,85,86,63,100,0,0,22,0,0,0,-1--1--1,,1|(1161,716)| 11,86,48,1161,741,8,6,33,3,0,0,4,0,0,0 10,87,Read out time 0,1211,741,42,21,40,3,0,0,-1,0,0,0 1,88,63,87,0,0,0,0,0,64,0,-1--1--1,,1|(1163,704)| 12,89,48,502,791,10,8,0,3,0,0,-1,0,0,0 1,90,92,89,4,0,0,22,0,0,0,-1--1--1,,1|(502,769)| 1,91,92,50,100,0,0,22,0,0,0,-1--1--1,,1|(502,721)| 11,92,48,502,749,8,6,33,3,0,0,4,0,0,0 10,93,Read out Demand time 0,580,749,70,21,40,3,0,0,-1,0,0,0 1,94,50,93,0,0,0,0,0,64,0,-1--1--1,,1|(519,710)| 10,95,Time,1216,846,35,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,96,95,87,0,0,0,0,0,64,0,-1--1--1,,1|(1214,804)| 10,97,TIME STEP,1326,809,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,98,97,87,0,0,0,0,0,64,0,-1--1--1,,1|(1276,780)| 10,99,Time,548,838,35,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,100,99,93,0,0,0,0,0,64,0,-1--1--1,,1|(559,804)| 10,101,TIME STEP,623,828,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,102,101,93,0,0,0,0,0,64,0,-1--1--1,,1|(604,795)| 12,103,48,862,661,10,8,0,3,0,0,-1,0,0,0 1,104,65,103,100,0,0,22,0,0,0,-1--1--1,,1|(894,663)| 10,105,INITIAL TIME,586,876,40,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,106,105,93,0,0,0,0,0,64,0,-1--1--1,,1|(583,819)| 10,107,INITIAL TIME,1297,868,40,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,108,107,87,0,0,0,0,0,64,0,-1--1--1,,1|(1257,810)| 1,109,1,50,0,1,0,0,0,64,1,-1--1--1,,1|(532,492)| 1,110,2,63,0,1,0,0,0,64,1,-1--1--1,,1|(1155,451)| 1,111,3,54,1,0,0,0,0,64,0,-1--1--1,,1|(325,506)| 1,112,4,65,1,0,0,0,0,64,0,-1--1--1,,1|(960,518)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Opinion Maker Price Direction Extrapolation $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Smoothing Time for Observing Carry Out and Demand,1157,300,95,31,8,3,0,0,0,0,0,0 10,2,Trend of the Forecast Carry out to Use,718,675,102,31,8,3,0,0,0,0,0,0 10,3,Averaging Time for the Trend Estimation,439,657,89,31,8,3,0,0,0,0,0,0 10,4,Initial Trend,764,807,54,12,8,3,0,0,0,0,0,0 1,5,4,2,1,0,0,0,0,64,0,-1--1--1,,1|(752,755)| 1,6,3,2,1,0,0,0,0,64,0,-1--1--1,,1|(560,636)| 10,7,Minimum Trend Magnitude that will produce an opinion,434,894,89,31,8,3,0,0,0,0,0,0 10,8,Magnitude of the Trend,591,790,60,21,8,3,0,0,0,0,0,0 1,9,2,8,1,0,0,0,0,64,0,-1--1--1,,1|(616,723)| 10,10,"Is an Opinion Produced?",634,903,60,21,8,3,0,0,0,0,0,0 1,11,7,10,1,0,0,0,0,64,0,-1--1--1,,1|(536,912)| 1,12,8,10,1,0,0,0,0,64,0,-1--1--1,,1|(598,843)| 10,13,"Bullish or Bearish?",885,796,44,21,8,3,0,0,0,0,0,0 10,14,Fundamental Analysis Price Direction Opinion from Trend,843,923,106,31,8,3,0,0,0,0,0,0 1,15,10,14,1,0,0,0,0,64,0,-1--1--1,,1|(724,936)| 1,16,2,13,1,0,0,0,0,64,0,-1--1--1,,1|(837,733)| 1,17,13,14,1,0,0,0,0,64,0,-1--1--1,,1|(891,866)| 10,18,Smooth of Observed Demand,474,262,48,31,8,3,0,0,0,0,0,0 10,19,Smooth of Observed Carry Out,962,265,73,31,8,3,0,0,0,0,0,0 1,20,1,19,1,0,0,0,0,64,0,-1--1--1,,1|(1038,288)| 10,21,Smoothing Time for Observing Carry Out and Demand,238,273,97,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,22,21,18,1,0,0,0,0,64,0,-1--1--1,,1|(374,277)| 10,23,Forecast Demand,577,391,41,21,8,3,0,0,0,0,0,0 10,24,Forecast Carry Out,811,384,45,21,8,3,0,0,0,0,0,0 10,25,Forecast forward horizon time,697,309,78,21,8,3,0,0,0,0,0,0 10,26,Forecast backwards averaging time,697,456,69,31,8,3,0,0,0,0,0,0 1,27,25,23,1,0,0,0,0,64,0,-1--1--1,,1|(616,329)| 1,28,25,24,1,0,0,0,0,64,0,-1--1--1,,1|(782,331)| 1,29,26,23,0,0,0,0,0,64,0,-1--1--1,,1|(633,421)| 1,30,26,24,0,0,0,0,0,64,0,-1--1--1,,1|(755,418)| 1,31,18,23,1,0,0,0,0,64,0,-1--1--1,,1|(494,336)| 1,32,19,24,1,0,0,0,0,64,0,-1--1--1,,1|(903,349)| 10,33,Forecast Carry Out to Use Ratio,694,542,75,21,8,3,0,0,0,0,0,0 1,34,23,33,1,0,0,0,0,64,0,-1--1--1,,1|(585,493)| 1,35,24,33,1,0,0,0,0,64,0,-1--1--1,,1|(804,498)| 1,36,33,2,1,0,0,0,0,64,0,-1--1--1,,1|(715,606)| 10,37,TIME STEP,1183,145,31,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,38,INITIAL TIME,1138,203,40,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,39,Time,1138,203,35,12,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,40,TIME STEP,1138,203,31,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,41,INITIAL TIME,507,211,40,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,42,Time,507,211,35,12,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,43,TIME STEP,507,211,31,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,44,Carry Out,428,525,55,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14|B|128-128-128 10,45,Demand,88,547,50,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,46,Carry out to Use Ratio,261,578,55,21,8,3,0,0,0,0,0,0 1,47,44,46,1,0,0,0,0,64,0,-1--1--1,,1|(332,514)| 1,48,45,46,1,0,0,0,0,64,0,-1--1--1,,1|(128,570)| 10,49,Minimum Demand possible,400,438,84,21,8,3,0,0,0,0,0,0 1,50,49,23,0,0,0,0,0,64,0,-1--1--1,,1|(500,410)| 10,51,Observed Demand,474,314,52,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,52,Observed Carry Out,962,317,52,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,53,Minimum Demand,901,515,43,21,8,3,0,0,0,0,0,0 1,54,53,33,1,0,0,0,0,64,0,-1--1--1,,1|(828,550)| 10,55,Opinion Maker's Ideal Carry Out to Use Ratio given Price,1407,631,103,31,8,3,0,0,0,0,0,0 10,56,Gap Between Forecast and Ideal Carry Out to Use,1057,661,105,31,8,3,0,0,0,0,0,0 1,57,55,56,1,0,0,0,0,64,0,-1--1--1,,1|(1227,602)| 10,58,Directional Signal,1292,746,50,21,8,3,0,0,0,0,0,0 10,59,"Large Enough Gap?",1119,819,65,21,8,3,0,0,0,0,0,0 10,60,Minimum Gap that will Produce a Signal,1105,925,96,21,8,3,0,0,0,0,0,0 1,61,56,59,1,0,0,0,0,64,0,-1--1--1,,1|(1066,735)| 1,62,56,58,1,0,0,0,0,64,0,-1--1--1,,1|(1205,680)| 1,63,60,59,1,0,0,0,0,64,0,-1--1--1,,1|(1088,869)| 10,64,Fundamental Analysis Price Direction Opinion from Level of Coverage,1363,857,109,31,8,3,0,0,0,0,0,0 1,65,59,64,1,0,0,0,0,64,0,-1--1--1,,1|(1202,860)| 1,66,58,64,1,0,0,0,0,64,0,-1--1--1,,1|(1335,784)| 10,67,Fundamental Analysis Price Direction Opinions,1152,1047,102,31,8,3,0,0,0,0,0,0 1,68,64,67,1,0,0,0,0,64,0,-1--1--1,,1|(1303,944)| 10,69,Weight Placed on Level of Carry Out,1413,1049,84,21,8,3,0,0,0,0,0,0 1,70,69,67,1,0,0,0,0,64,0,-1--1--1,,1|(1281,1068)| 1,71,33,56,1,0,0,0,0,64,0,-1--1--1,,1|(845,614)| 1,72,14,67,1,0,0,0,0,64,0,-1--1--1,,1|(970,1003)| 10,73,Observed Demand,474,314,52,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,74,Observed Carry Out,962,317,52,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,75,Current Value of Observed Carry Out used for Estimation,1035,115,95,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,76,Current Value of Observed Demand used for Estimation,449,112,111,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,77,76,18,1,0,0,0,0,64,0,-1--1--1,,1|(441,177)| 1,78,75,19,1,0,0,0,0,64,0,-1--1--1,,1|(1016,183)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Trader Opinion Formation $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Market Maker's View of Price Direction from Opinions,577,192,106,31,8,3,0,0,0,0,0,0 10,2,Weighted Anticipated Market Direction,818,242,86,31,8,3,0,0,0,0,0,0 1,3,1,2,1,0,0,0,0,64,0,-1--1--1,,1|(709,187)| 10,4,Awareness Screen,224,313,52,21,8,3,0,0,0,0,0,0 10,5,Price Direction Opinions the Market Maker is Aware of,365,428,99,31,8,3,0,0,0,0,0,0 10,6,Weights placed on Price Direction Opinions,155,68,85,31,8,3,0,0,0,0,0,0 1,7,4,5,1,0,0,0,0,64,0,-1--1--1,,1|(282,338)| 1,8,6,9,1,0,0,0,0,64,0,-1--1--1,,1|(247,76)| 10,9,Weights that matter,304,138,58,21,8,3,0,0,0,0,0,0 1,10,4,9,1,0,0,0,0,64,0,-1--1--1,,1|(290,241)| 10,11,Weighted Opinions,429,242,44,21,8,3,0,0,0,0,0,0 1,12,11,1,1,0,0,0,0,64,0,-1--1--1,,1|(510,261)| 1,13,5,11,1,0,0,0,0,64,0,-1--1--1,,1|(423,336)| 1,14,9,11,1,0,0,0,0,64,0,-1--1--1,,1|(358,198)| 1,15,9,1,1,0,0,0,0,64,0,-1--1--1,,1|(427,133)| 10,16,Initial Price,819,275,31,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,17,Price Move Today,819,275,58,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,18,Fundamental Opinion of each Trader on Market Direction,896,479,110,31,8,3,0,0,0,0,0,0 1,19,18,28,1,0,0,0,0,64,0,-1--1--1,,1|(942,544)| 10,20,Bullish Flag for Anticipated Market Change,695,374,99,31,8,3,0,0,0,0,0,0 10,21,Bearish Flag for Anticipated Market Change,1039,340,103,31,8,3,0,0,0,0,0,0 1,22,20,18,1,0,0,0,0,64,0,-1--1--1,,1|(738,435)| 1,23,21,18,1,0,0,0,0,64,0,-1--1--1,,1|(1006,414)| 10,24,Technical Analysis driven Opinions on Market Direction,1010,710,92,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,25,24,28,1,0,0,0,0,64,0,-1--1--1,,1|(1035,643)| 10,26,"Fundamental vs. Technical Flag",1264,721,102,31,8,3,0,0,0,0,0,0 1,27,26,28,1,0,0,0,0,64,0,-1--1--1,,1|(1204,632)| 10,28,Combined Opinion of each Trader on Market Direction,1104,569,103,31,8,3,0,0,0,0,0,0 10,29,Subscripts for Traders,1285,805,70,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,30,29,26,0,0,0,0,0,64,0,-1--1--1,,1|(1277,774)| 1,31,2,20,1,0,0,0,0,64,0,-1--1--1,,1|(719,299)| 1,32,2,21,1,0,0,0,0,64,0,-1--1--1,,1|(934,246)| 10,33,Fundamental Analysis Price Direction Opinion from Trend,365,480,108,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,34,33,5,0,1,0,0,0,64,0,-1--1--1,,1|(365,461)| 10,35,Fundamental Analysis Price Direction Opinions,232,561,86,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,36,35,5,1,0,0,0,0,64,0,-1--1--1,,1|(303,506)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Flag for Desiring to trade $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Confidence in the Guess for Market Direction,270,516,81,31,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,2,Smallest Confidence Level that will be traded,265,297,95,31,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,3,Fundamental Flag for Desiring to Trade,404,404,94,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,4,1,3,1,0,0,0,0,64,0,-1--1--1,,1|(300,452)| 1,5,2,3,1,0,0,0,0,64,0,-1--1--1,,1|(351,342)| 1,6,3,8,1,0,0,0,0,64,0,-1--1--1,,1|(424,475)| 10,7,Technical Flag for desiring to trade,660,387,82,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 10,8,Flag for desiring to trade,522,518,75,21,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,9,7,8,1,0,0,0,0,64,0,-1--1--1,,1|(609,456)| 10,10,Is the trader trading fundamentally or technically,523,272,90,31,8,3,0,56,0,0,0,0,0-0-0,0-0-0,Arial|14|B|0-0-0 1,11,10,8,0,0,0,0,0,64,0,-1--1--1,,1|(522,392)| 10,12,"Fundamental vs. Technical Flag",517,139,82,21,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 1,13,12,10,0,0,0,0,0,64,0,-1--1--1,,1|(518,193)| 10,14,Weighted Anticipated Market Direction,197,641,86,31,8,2,0,59,-1,0,0,0,128-128-128,0-0-0,Arial|14|B|128-128-128 1,15,14,1,1,0,0,0,0,64,0,-1--1--1,,1|(211,573)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Trade Recording $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Price Traded,713,124,49,29,3,131,0,0,0,0,0,0 12,2,48,494,129,10,8,0,3,0,0,-1,0,0,0 1,3,5,1,4,0,0,22,0,0,0,-1--1--1,,1|(627,129)| 1,4,5,2,100,0,0,22,0,0,0,-1--1--1,,1|(541,129)| 11,5,48,584,129,6,8,34,3,0,0,1,0,0,0 10,6,If Trade Initiated read in Price,584,158,74,21,40,3,0,0,-1,0,0,0 12,7,48,975,123,10,8,0,3,0,0,-1,0,0,0 1,8,10,7,4,0,0,22,0,0,0,-1--1--1,,1|(917,123)| 1,9,10,1,100,0,0,22,0,0,0,-1--1--1,,1|(809,123)| 11,10,48,863,123,6,8,34,3,0,0,1,0,0,0 10,11,If Trade Exited read out Price,863,152,67,21,40,3,0,0,-1,0,0,0 10,12,"Trade Entered?",447,256,43,21,8,3,0,0,0,0,0,0 10,13,"Trade Exited?",956,263,36,21,8,3,0,0,0,0,0,0 1,14,12,6,1,0,0,0,0,64,0,-1--1--1,,1|(478,188)| 1,15,1,10,1,0,0,0,0,64,0,-1--1--1,,1|(795,73)| 1,16,13,11,1,0,0,0,0,64,0,-1--1--1,,1|(946,185)| 10,17,Time to record price information,698,250,79,21,8,3,0,0,0,0,0,0 1,18,17,6,1,0,0,0,0,64,0,-1--1--1,,1|(592,225)| 1,19,17,11,1,0,0,0,0,64,0,-1--1--1,,1|(788,249)| 10,20,Delayed Value of Market Direction Opinion,470,681,87,31,8,3,0,0,0,0,0,0 10,21,Difference of Opinion between Market Direction and its delayed value,485,460,118,31,8,3,0,0,0,0,0,0 1,22,20,21,1,0,0,0,0,64,0,-1--1--1,,1|(534,591)| 10,23,TIME STEP,641,743,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,24,23,20,1,0,0,0,0,64,0,-1--1--1,,1|(553,696)| 10,25,Fundamental Flag for Desiring to Trade,476,592,82,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,26,Fundamental Flag for Desiring to Trade,409,438,82,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,27,Delayed Value of Flag for Desiring to Trade,809,663,87,31,8,3,0,0,0,0,0,0 10,28,Difference between Flag for desiring to Trade and its delayed Value,788,454,112,31,8,3,0,0,0,0,0,0 1,29,27,28,1,0,0,0,0,64,0,-1--1--1,,1|(734,560)| 1,30,28,12,1,0,0,0,0,64,0,-1--1--1,,1|(558,358)| 1,31,28,13,1,0,0,0,0,64,0,-1--1--1,,1|(907,380)| 1,32,23,27,0,0,0,0,0,64,0,-1--1--1,,1|(701,714)| 10,33,"Opinion Reversal?",238,366,47,21,8,3,0,0,0,0,0,0 1,34,21,33,1,0,0,0,0,64,0,-1--1--1,,1|(360,377)| 10,35,"Opinion Reversal?",1151,341,53,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,36,33,12,1,0,0,0,0,64,0,-1--1--1,,1|(317,278)| 1,37,35,13,1,0,0,0,0,64,0,-1--1--1,,1|(1073,274)| 10,38,TIME STEP,702,337,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,39,38,17,0,0,0,0,0,64,0,-1--1--1,,1|(700,300)| 10,40,Delayed Value of Flag for Desiring to Trade,129,269,87,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,41,40,33,1,0,0,0,0,64,0,-1--1--1,,1|(196,316)| 10,42,Fundamental Opinion of each Trader on Market Direction,470,733,114,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,43,Fundamental Opinion of each Trader on Market Direction,485,512,114,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,44,Fundamental Flag for Desiring to Trade,809,715,88,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,45,Fundamental Flag for Desiring to Trade,788,506,88,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,46,Combined Opinion of each Trader on Market Direction,262,575,103,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,47,46,21,1,0,0,0,0,64,0,-1--1--1,,1|(327,482)| 1,48,46,20,1,0,0,0,0,64,0,-1--1--1,,1|(341,664)| 10,49,Fundamental Flag for Desiring to Trade,238,408,88,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,50,Flag for desiring to trade,132,445,81,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,51,50,33,1,0,0,0,0,64,0,-1--1--1,,1|(171,401)| 10,52,Combined Opinion of each Trader on Market Direction,809,715,103,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,53,Combined Opinion of each Trader on Market Direction,788,506,103,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,54,Flag for desiring to trade,1015,540,81,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,55,54,28,1,0,0,0,0,64,0,-1--1--1,,1|(937,480)| 1,56,54,27,1,0,0,0,0,64,0,-1--1--1,,1|(954,632)| 10,57,Price,556,50,36,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,58,57,5,1,0,0,0,0,64,0,-1--1--1,,1|(559,93)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Positions and Confidence $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Positions,228,535,43,12,8,3,0,0,0,0,0,0 10,2,Size of Positions,351,470,43,21,8,3,0,0,0,0,0,0 1,3,2,1,1,0,0,0,0,64,0,-1--1--1,,1|(280,491)| 10,4,Fraction of total capital commited on each trade,538,467,93,31,8,3,0,0,0,0,0,0 1,5,4,2,1,0,0,0,0,64,0,-1--1--1,,1|(440,499)| 10,6,Capital,466,363,43,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,7,6,2,1,0,0,0,0,64,0,-1--1--1,,1|(389,393)| 10,8,Price Traded,495,573,39,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,9,8,2,1,0,0,0,0,64,0,-1--1--1,,1|(401,553)| 10,10,Confidence,671,352,52,12,8,3,0,0,0,0,0,0 1,11,10,4,1,0,0,0,0,64,0,-1--1--1,,1|(663,417)| 10,12,Combined Opinion of each Trader on Market Direction,228,568,103,31,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,13,12,1,0,1,0,0,0,64,0,-1--1--1,,1|(228,549)| 10,14,Flag for desiring to trade,228,568,81,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,15,14,1,0,1,0,0,0,64,0,-1--1--1,,1|(228,547)| 10,16,Confidence in the Guess for Market Direction,507,227,87,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,17,16,10,1,0,0,0,0,64,0,-1--1--1,,1|(613,284)| 10,18,Trader Overconfidence Factor,761,227,74,31,8,3,0,0,0,0,0,0 1,19,18,10,1,0,0,0,0,64,0,-1--1--1,,1|(724,298)| 10,20,Confidence in the case of Technical Analysis,913,316,81,31,8,3,0,0,0,0,0,0 1,21,20,10,1,0,0,0,0,64,0,-1--1--1,,1|(781,343)| 10,22,"Fundamental vs. Technical Flag",638,106,82,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,23,22,10,1,0,0,0,0,64,0,-1--1--1,,1|(670,222)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Profit and Loss $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,75,0 10,1,Positions,769,592,54,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,2,1,11,1,0,0,0,0,64,0,-1--1--1,,1|(717,517)| 10,3,Difference Between Current Price and Price Traded,427,525,92,31,8,3,0,0,0,0,0,0 10,4,If Trade Exited read out Price,432,568,73,21,8,2,1,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,5,Price Traded,310,641,39,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,6,5,3,1,0,0,0,0,64,0,-1--1--1,,1|(328,582)| 10,7,"Potential P&L",529,418,41,21,8,3,0,0,0,0,0,0 1,8,3,7,1,0,0,0,0,64,0,-1--1--1,,1|(459,455)| 10,9,"Trade Exited?",391,367,42,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,10,Time required to Exit a trade,454,207,77,21,8,3,0,0,0,0,0,0 10,11,Delayed Value of Positions,684,498,67,21,8,3,0,0,0,0,0,0 1,12,11,7,1,0,0,0,0,64,0,-1--1--1,,1|(622,443)| 10,13,TIME STEP,640,572,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,14,13,11,0,0,0,0,0,64,0,-1--1--1,,1|(657,541)| 10,15,TIME STEP,345,148,31,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,16,15,10,0,0,0,0,0,64,0,-1--1--1,,1|(389,171)| 10,17,Initial Capital,911,265,58,12,8,3,0,0,0,0,0,0 10,18,Capital,724,288,48,31,3,131,0,0,0,0,0,0 10,19,Is Trading Occuring,1072,292,52,21,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14|B|128-128-128 1,20,19,17,1,0,0,0,0,64,0,-1--1--1,,1|(998,268)| 10,21,"Average Profit/Loss Traders 1-10",956,360,57,31,8,3,0,0,0,0,0,0 10,22,"Average Profit/Loss traders 11-20",971,438,85,31,8,3,0,0,0,0,0,0 10,23,"Average Profit/Loss traders 21-30",940,525,85,31,8,3,0,0,0,0,0,0 10,24,Price,444,624,36,12,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,25,24,3,1,0,0,0,0,64,0,-1--1--1,,1|(418,590)| 10,26,"Cumulative Profit/Loss",774,385,53,21,8,3,0,0,0,0,0,0 1,27,17,26,1,0,0,0,0,64,0,-1--1--1,,1|(833,304)| 1,28,18,26,0,0,0,0,0,64,0,-1--1--1,,1|(747,334)| 1,29,26,21,1,0,0,0,0,64,0,-1--1--1,,1|(861,382)| 1,30,26,22,1,0,0,0,0,64,0,-1--1--1,,1|(846,419)| 1,31,26,23,1,0,0,0,0,64,0,-1--1--1,,1|(818,465)| 12,32,48,370,295,10,8,0,3,0,0,-1,0,0,0 1,33,35,18,4,0,0,22,0,0,0,-1--1--1,,1|(605,293)| 1,34,35,32,100,0,0,22,0,0,0,-1--1--1,,1|(451,293)| 11,35,48,528,293,6,8,34,3,0,0,1,0,0,0 10,36,"Profit/Loss",528,313,49,12,40,3,0,0,-1,0,0,0 1,37,10,35,1,0,0,0,0,64,0,-1--1--1,,1|(503,246)| 1,38,9,36,1,0,0,0,0,64,0,-1--1--1,,1|(445,334)| 1,39,7,36,1,0,0,0,0,64,0,-1--1--1,,1|(540,371)| 10,40,"Profit/Loss",729,162,40,22,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 1,41,40,18,1,0,0,0,0,64,0,-1--1--1,,1|(710,211)| 1,42,18,36,1,0,0,0,0,64,0,-1--1--1,,1|(640,343)| 1,43,17,18,0,0,0,0,0,64,1,-1--1--1,,1|(819,276)| 10,44,"Average Profit/Loss Traders 1-15",1143,388,57,31,8,3,0,0,0,0,0,0 10,45,"Average Profit/Loss Traders 16-30",1136,496,62,31,8,3,0,0,0,0,0,0 1,46,26,44,1,0,0,0,0,64,0,-1--1--1,,1|(948,400)| 1,47,26,45,1,0,0,0,0,64,0,-1--1--1,,1|(914,475)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Trader Assignment $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,100,0 10,1,"Fundamental vs. Technical Flag",196,306,77,21,8,3,0,0,-1,0,0,0 10,2,"Switch on Fundamental?",359,208,66,21,8,3,0,0,0,0,0,0 10,3,"Switch on Technical?",377,406,50,21,8,3,0,0,0,0,0,0 10,4,Subscripts for Traders,462,314,65,21,8,3,0,0,0,0,0,0 1,5,4,1,0,0,0,0,0,64,0,-1--1--1,,1|(341,310)| 10,6,All Fundamental,568,131,60,21,8,3,0,0,0,0,0,0 10,7,All Technical,581,466,45,21,8,3,0,0,0,0,0,0 10,8,Half Fundamental Half Technical,661,300,81,21,8,3,0,0,0,0,0,0 1,9,6,4,0,0,0,0,0,64,0,-1--1--1,,1|(518,216)| 1,10,8,4,0,0,0,0,0,64,0,-1--1--1,,1|(560,306)| 1,11,7,4,0,0,0,0,0,64,0,-1--1--1,,1|(525,395)| 1,12,2,4,1,0,0,0,0,64,0,-1--1--1,,1|(430,233)| 1,13,3,4,1,0,0,0,0,64,0,-1--1--1,,1|(431,369)| 10,14,Is Trading Occuring,924,282,46,21,8,3,0,0,0,0,0,0 1,15,2,14,1,0,0,0,0,64,0,-1--1--1,,1|(658,34)| 1,16,3,14,1,0,0,0,0,64,0,-1--1--1,,1|(725,576)| \\\---/// Sketch information - do not modify anything except names V300 Do not put anything below this section - it will be ignored *Selected Output $192-192-192,0,Arial|14|B|0-0-0|0-0-0|0-0-255|-1--1--1|-1--1--1|96,96,5,0 12,1,0,158,72,145,42,8,4,0,0,-1,0,0,0 These variables will allow for control of the fraction of traders using Technical Analysis or Fundamental 12,2,0,432,63,122,31,8,4,0,0,-1,0,0,0 Both Set to 1 is the Half and Half Scenario whereas both off is no trading 12,3,0,121,239,98,31,8,4,0,0,-1,0,0,0 Please use only values zero or one :-) Thanks 12,4,3147224,388,635,322,238,3,188,0,0,1,0,0,0 Price_and_Carry_out_to_U 12,5,3212664,1022,199,312,182,3,188,0,0,1,0,0,0 Price_with_moving_averag 12,6,13960242,1033,632,306,236,3,188,0,0,1,0,0,0 Supply_and_Demand 10,7,Time for Demand to be affected by Price,379,243,97,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 10,8,Time for Production to be affected by Price,603,252,97,31,8,2,0,3,-1,0,0,0,128-128-128,0-0-0,|14||128-128-128 12,9,0,484,342,203,41,8,132,0,0,-1,0,0,0 The demand and production delay parameters affect the longer envelope function of the price waves and the shorter "beats" observable within the wave 12,10,9831554,158,149,80,20,3,124,0,0,0,0,0,0 "Switch on Fundamental?",0,1,1 12,11,2622918,402,151,80,20,3,124,0,0,0,0,0,0 "Switch on Technical?",0,1,1 ///---\\\ :GRAPH Price_with_moving_averag :TITLE Price with moving averages :SCALE :VAR Price :Y-MIN 100 :Y-MAX 300 :VAR Shorter Smooth of Price[t15] :VAR Longer Smooth of Price[t15] :GRAPH Supply_Demand_Ratio_and_ :TITLE Carry out to Use Ratio and Opinion Makers Observations :SCALE :VAR Forecast Carry out to Use Ratio[o1] :Y-MIN 0 :Y-MAX 600 :VAR Carry out to Use Ratio :VAR Forecast Carry out to Use Ratio[o2] :VAR Forecast Carry out to Use Ratio[o3] :GRAPH Price_and_Carry_out_to_U :TITLE Price and Carry out to Use :SCALE :VAR Carry out to Use Ratio :SCALE :VAR Price :GRAPH Price :TITLE Price :SCALE :VAR Price :DATASET Current :GRAPH Supply_and_Demand :TITLE Supply and Demand :SCALE :VAR Carry out :SCALE :VAR Demand :Y-MIN 0 :Y-MAX 300 :VAR amount produced :GRAPH _Production_and_Demand :TITLE Production and Demand :SCALE :VAR Amount Produced :VAR demand :GRAPH Cumulative_Profit_and_Lo :TITLE Cumulative Profit and Loss in Hypothesis 3 Base Case :SCALE :VAR "Cumulative Profit/Loss"[t1] :VAR "Cumulative Profit/Loss"[t11] :VAR "Cumulative Profit/Loss"[t21] :L<%^E!@ 1:Current.vdf 9:Current 22:$,Dollar,Dollars,$s 22:ammount,amount 22:contract,contracts 22:Day,Days 22:Hour,Hours 22:minute,minutes 22:Month,Months 22:Person,People,Persons 22:Unit,Units 22:Week,Weeks 22:Year,Years 18:Market Maker.vsc 20:Market Maker.lst 15:0,0,0,0,0,0 19:5,14 27:2, 34:0, 4:Time 5:Pressure on Demand from Price 24:0 25:200 26:200 6:o1 6:o10 6:o2 6:o3 6:o4 6:o5 6:o6 6:o7 6:o8 6:o9 6:t1 6:t10 6:t11 6:t12 6:t13 6:t14 6:t15 6:t16 6:t17 6:t18 6:t19 6:t2 6:t20 6:t21 6:t22 6:t23 6:t24 6:t25 6:t26 6:t27 6:t28 6:t29 6:t3 6:t30 6:t4 6:t5 6:t6 6:t7 6:t8 6:t9