0% found this document useful (0 votes)
10 views11 pages

CW Input

The document contains the parameter definitions for a forex trading tool indicator. It defines over 30 parameters including: - Display settings for a description, symbol, calendar, ATR value, spread value, price, and bar timer. - Font styles, sizes, colors and positions for the various display elements. - Settings for an ADR information panel, OHLC value panel, and forex clock. - Additional parameters control things like using the indicator as a master, button transparency, and location of corner blocks. The document provides a comprehensive list of customizable parameters to control the appearance and information displayed in a forex trading tool indicator.

Uploaded by

andylau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views11 pages

CW Input

The document contains the parameter definitions for a forex trading tool indicator. It defines over 30 parameters including: - Display settings for a description, symbol, calendar, ATR value, spread value, price, and bar timer. - Font styles, sizes, colors and positions for the various display elements. - Settings for an ADR information panel, OHLC value panel, and forex clock. - Additional parameters control things like using the indicator as a master, button transparency, and location of corner blocks. The document provides a comprehensive list of customizable parameters to control the appearance and information displayed in a forex trading tool indicator.

Uploaded by

andylau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 11

//---- input parameters

//
extern string commonSettings = "COMMON SETTINGS";
//-------------------------------------------------->>>
extern string uniqueID = "ToolBox-CW";
//Indicator unique ID
extern bool bttnTransparent = false;
//bttnTransparent buttons?
extern bool useMasterChart = false;
//Use this chart as Master for Slave indicator
extern string comMaster =
"-----------------------------------"; //Master ON/OFF Button
extern string buttonFont = "Consolas Bold";
//Button Font Type
extern int buttonFontSize = 11;
//Button Font Size
extern string buttonOnText = "ON";
//Button ON Text
extern color buttonOnColor = clrPaleTurquoise;
//Button ON Background Color
extern string buttonOffText = "OFF";
//Button OFF Text
extern color buttonOffColor = clrBisque;
//Button OFF Background Color

extern string comBlank_0 = " ";


//.
extern string comBlank_1 = "-------- RIGHT UPPER CORNER
BLOCK -------- ";//-------- RIGHT UPPER CORNER BLOCK --------
ENUM_BASE_CORNER rightUpCorner = CORNER_RIGHT_UPPER;
//.
extern string comBlank_2 = " ";
//.

extern string comDesc =


"-----------------------------------"; //[01]>> Symbol Description
extern bool showDesc = true;
//Show Symbol Description
extern int descFontSize = 9;
//Description Font Size
extern string descFontType = "Consolas";
//Description Font Type
extern color descFontColor = clrDarkTurquoise;
//Description Font Color
extern int descXshift = 10;
//Description X Position
extern int descYshift = 5;
//Description Y Position
extern string comBlank_3 = " ";
//.

extern string comSymbol =


"-----------------------------------"; //[02]>> Symbol and Timeframe
extern bool showSymbolTag = true;
//Show Symbol ?
extern symbolValueType symbFormat = TimeCurrency;
//How to Show the Symbol on Chart?
extern int symbFontSize1 = 18;
//Symbol Font Size
extern string symbFontType1 = "Consolas Bold";
//Symbol Font Type
extern color symbFontColor1 = clrGoldenrod;
//Symbol Font Color
extern int symbXshift = 10;
//Symbol X Position
extern int symbYshift = 18;
//Symbol Y Position
extern string comBlank_4 = " ";
//.

extern string comWeekDay =


"-----------------------------------"; //[03]>> Calendar
extern bool showWeekDay = true;
//Show Calendar
extern int weekFontSize = 9;
//Calendar Font Size
extern string weekFontType = "Consolas";
//Calendar Font Type
extern color weekFontColor = clrDarkTurquoise;
//Calendar Font Color
extern int weekXshift = 10;
//Calendar X Position
extern int weekYshift = 50;
//Calendar Y Position
extern string comBlank_5 = " ";
//.

extern string comATR =


"-----------------------------------"; //[04]>> ATR Value
extern bool showATR = true;
//Show ATR Value?
extern int atrPeriod = 14;
//ATR Period
extern double atrMultiply = 1;
//ATR Multiplier
extern atrValueType atrDisplay = 1;
//ATR Disply Type (Point or Pip)
extern int atrFontSize = 10;
//ATR Font Size
extern string atrFontType = "Consolas";
//ATR Font Type
extern color atrFontColor = clrSalmon;
//ATR Font Color
extern int atrXshift = 10;
//ATR X Position
extern int atrYshift = 68;
//ATR Y Position
extern string atrLabel = "ATR ";
//ATR Text Label
extern string comBlank_6 = " ";
//.

extern string comSpread =


"-----------------------------------"; //[05]>> Spread
extern bool showSpread = true;
//Show Spread
extern int sprdFontSize = 10;
//Spread Font Size
extern string sprdFontType = "Consolas";
//Spread Font Type
extern color sprdFontColor = clrSalmon;
//Spread Font Color
extern int sprdXshift = 10;
//Spread X Position
extern int sprdYshift = 85;
//Spread Y Position
extern string sprdLabel = "Spread ";
//Spread Text Label
extern string comBlank_7 = " ";
//.

extern string comPrice =


"-----------------------------------"; //[06]>> Maginified Market Price
extern bool showPrice = true;
//Show Price
extern int pricFontSize = 18;
//Price Font Size
extern string pricFontType = "Consolas";
//Price Font Type
extern color pricFontColor = clrGoldenrod;
//Price Font Color
extern int pricXshift = 10;
//Price X Position
extern int pricYshift = 100;
//Price Y Position
extern bool pricBidAsk = false;
//Change Font Colors Automatically? (true = Yes)
extern color pricHighColor = clrLawnGreen;
//Price High Color
extern color pricLowColor = clrTomato;
//Price Low Color
extern string comBlank_8 = " ";
//.

extern string comBarTimer =


"-----------------------------------"; //[07]>> iClock - Bar Timer
extern bool showBarTimer = true;
//Show iClock?
extern ENUM_TIMEFRAMES barTimeFrame = PERIOD_CURRENT;
//Bar TimeFrame?
extern int bartimeFontSize = 14;
//iClock Font Size
extern string bartimeFontType = "Consolas Bold";
//iClock Font Type
extern color bartimeColorNormal = clrLimeGreen;
//iClock Font Color - Normal
extern color bartimeColorLate = clrTomato;
//iClock Font Color - Late
extern int bartimeXshift = 10;
//iClock X Position
extern int bartimeYshift = 130;
//iClock Y Position
extern string comBlank_9 = " ";
//.
extern string comADR =
"-----------------------------------"; //[08]>> ADR Information Panel
extern bool showADR = true;
//Show ADR Panel?
extern int adrWeek = 5;
//ADR days for a week
extern int adrMonth = 22;
//ADR days for a month
extern int adrFontSize = 11;
//ADR Font Size
extern string adrFontType = "Consolas";
//ADR Font Type
extern color adrFontColor = clrDodgerBlue;
//ADR Font Color
extern color adrFontColorHigh = clrSilver;
//ADR Font Highlight Color
extern int adrXshift = 10;
//ADR X Position
extern int adrYshift = 165;
//ADR Y Position
extern int adrFontGap = 8;
//ADR Line Gap
extern int adrLabelGap = 40;
//ADR Label Text Shift
extern string comBlank_10 = " ";
//.

extern string comOHLC =


"-----------------------------------"; //[09]>> OHLC Value Panel
extern bool showOHLC = true;
//Show OHLC Values?
extern ENUM_TIMEFRAMES ohlcPeriod = PERIOD_D1;
//OHLC Period (Default D1)
extern ENUM_TIMEFRAMES ohlcPeriodVol = PERIOD_CURRENT;
//Volume Period (Default Current)
extern int ohlcFontSize = 9;
//OHLC Font Size
extern string ohlcFontType = "Consolas";
//OHLC Font Type
extern color ohlcFontColorLabel = clrSilver;
//OHLC Font Color (Label)
extern color ohlcFontColor = clrTomato;
//OHLC Font Color (Time)
extern int ohlcYshift = 290;
//OHLC Y Position
extern int ohlcXshift = 10;
//OHLC X Position
extern int ohlcFontGap = 7;
//OHLC Line Gap
extern int ohlcLabelGap = 65;
//OHLC Label Text Shift
extern string comBlank_11 = " ";
//.

extern string comBlank_12 = "-------- LEFT LOWER CORNER


BLOCK -------- ";//-------- LEFT LOWER CORNER BLOCK --------
ENUM_BASE_CORNER leftDnCorner = CORNER_LEFT_LOWER;
//.
extern string comBlank_13 = " ";
//-

extern string comClock =


"-----------------------------------"; //[10]>> Forex Clock
extern bool showClock = true;
//Show Forex Clock?
extern string clockLocal = "S'pore";
//Your Location / City
extern bool clockDST = false;
//Enable DST?
extern int clockFontSize = 9;
//Clock Font Size
extern string clockFontType = "Consolas";
//Clock Font Type
extern color clockFontColorLabel = clrSilver;
//Clock Font Color (Label)
extern color clockFontColorClock = clrLime;
//Clock Font Color (Time)
extern int clockXshift = 10;
//Clock X Position
extern int clockYshift = 5;
//Clock Y Position
extern int clockFontGap = 7;
//Clock Line Gap
extern int clockLabelGap = 50;
//Clock Label Text Shift
extern string comBlank_14 = " ";
//.

extern string comSwap =


"-----------------------------------"; //[11]>> Swap and Pip Value Panel
extern bool showSwap = true;
//Show Swap Values?
extern double swapLotSize = 1.0;
//Lot Size
extern int swapFontSize = 9;
//Swap Font Size
extern string swapFontType = "Consolas";
//Swap Font Type
extern color swapFontColorLabel = clrSilver;
//Swap Font Color (Label)
extern color swapFontColor = clrTomato;
//Swap Font Color (Time)
extern int swapXshift = 145;
//Swap X Position
extern int swapYshift = 5;
//Swap Y Position
extern int swapFontGap = 7;
//Swap Line Gap
extern int swapLabelGap = 50;
//Swap Label Text Shift
extern string comBlank_15 = " ";
//.

extern string comRisk =


"-----------------------------------"; //[12]>> Risk Information Panel
extern bool showRisk = true;
//Show Risk Panel?
extern int riskStopLoss = 25;
//Stop Loss in PIPS
extern double riskPercent = 2.5;
//Risk Percentage
extern int riskFontSize = 9;
//Risk Font Size
extern string riskFontType = "Consolas";
//Risk Font Type
extern color riskFontColor = clrDodgerBlue;
//Risk Font Color (Values)
extern color riskFontColorLabel = clrSilver;
//Risk Font Color (Labels)
extern int riskXshift = 290;
//Risk X Position
extern int riskYshift = 5;
//Risk Y Position
extern int riskFontGap = 7;
//Risk Line Gap
extern int riskLabelGap = 45;
//Risk Label Text Shift
extern string comBlank_26 = " ";
//.

extern string comIndi =


"-----------------------------------"; //[13]>> Indicator Value Panel
extern bool showIndi = true;
//Show Indicator Values?
extern int indiFontSize = 9;
//indi Font Size
extern string indiFontType = "Consolas";
//indi Font Type
extern color indiFontColorLabel = clrSilver;
//indi Font Color (Label)
extern color indiFontColor = clrGoldenrod;
//indi Font Color (Time)
extern int indiXshift = 435;
//indi X Position
extern int indiYshift = 5;
//indi Y Position
extern int indiFontGap = 7;
//indi Line Gap
extern int indiLabelGap = 55;
//indi Label Text Shift
extern string comIndi2 = " ";
//.
extern int indiRSIperiod = 14;
//RSI Periiod
extern int indiCCIperiod = 14;
//CCI Periiod
extern int indiWPRperiod = 14;
//WPR Periiod
extern int indiRVIperiod = 14;
//RVI Periiod
extern int indiADXperiod = 14;
//ADX Periiod
extern int indiStochKperiod = 8;
//Stoch K line period
extern int indiStochDperiod = 3;
//Stoch D line period
extern int indiStochSperiod = 3;
//Stoch Slowing
extern string comBlank_16 = " ";
//.

extern string comIprofit =


"-----------------------------------"; //[14]>> iPROFIT Indicator
extern bool showProfit = true;
//Show iProft Indicator?
ENUM_BASE_CORNER proftCorner = CORNER_LEFT_LOWER;
//Which Corner?
extern marketBalanceValue eiPercent = CurrentBalance;
//Calculate the % profit relative to:
extern int eiOffsetY = 10;
//Y Position
extern int eiX1Row = 560;
//X Position (1st Column)
extern int eiStepY = 14;
//Text Gap / Line Spacing
extern color ecText = clrSilver;
//Font Color
extern color ecProfit = clrLime;
//Font Color for Profit
extern color ecLoss = clrDarkOrange;
//Font Color for Loss
string proftFontType = "Consolas";
//Font Type
int proftFontSize = 9;
//Font Size
extern string comBlank_17 = " ";
//.

extern string comAccount =


"-----------------------------------"; //[15]>> Broker Account Information
extern bool showAccount = true;
//Show Account Information?
extern int acctFontSize = 9;
//Account Font Size
extern string acctFontType = "Consolas";
//Account Font Type
extern color acctFontColor = clrYellowGreen;
//Account Font Color
extern int acctXshift = 10;
//Account X Position
extern int acctYshift = 115;
//Account Y Position
extern int acctFontGap = 8;
//Account Line Gap
extern string comBlank_18 = " ";
//.

extern string comBlank_19 = "-------- RIGHT LOWER CORNER


BLOCK -------- ";//-------- RIGHT LOWER CORNER BLOCK -------
ENUM_BASE_CORNER rightDnCorner = CORNER_RIGHT_LOWER;
//.
extern string comBlank_20 = " ";
//-

extern string comFXMeter =


"-----------------------------------"; //[16]>> FX Currency Strength Meter
extern bool showFXmeter = true;
//Show Currency Strengh ?
extern color fxmFontColor = clrSilver;
//Currency Strength Font Color Normal
extern int fxmBuyLevel = 70;
//Currency Strength Buy Level
extern color fxmBuyColor = clrLimeGreen;
//Currency Strength Buy Color
extern int fxmSellLevel = 30;
//Currency Strength Sell Level
extern color fxmSellColor = clrTomato;
//Currency Strength Sell Color
extern int fxmFontSize = 9;
//Currency Strength Font Size
extern string fxmFontType = "Consolas Bold";
//Currency Strength Font Type
extern int fxmFontSizeValue = 9;
//Currency Strength Font Size (Percentage)
extern string fxmFontTypeValue = "Consolas";
//Currency Strength Font Type (Percentage)
extern int fxmYshift = 170;
//Currency Strength X Position
extern int fxmXshift = 10;
//Currency Strength Y Position
extern int fxmFontGap = 10;
//Currency Strength Font Gap
extern string comBlank_21 = " ";
//-

extern string comText1 =


"-----------------------------------"; //[17]>> Watermark Text
extern bool showText1 = true;
//Show Watermark Text Line 1 ?
extern string textLine1 = "{Your Text 1}";
//Your TEXT Line 1
extern int textFontSize1 = 18;
//Watermark Font Size
extern string textFontType1 = "Consolas Bold";
//Watermark Font Type
extern color textFontColor1 = clrDarkSlateGray;
//Watermark Font Color
extern int textXshift1 = 10;
//Watermark X Position
extern int textYshift1 = 300;
//Watermark Y Position
extern string comText2 =
"-----------------------------------"; //Watermark Text Line 2
extern bool showText2 = true;
//Show Watermark Text Line 2 ?
extern string textLine2 = "{Your Text 2}";
//Your TEXT Line 2
extern int textFontSize2 = 16;
//Watermark Font Size
extern string textFontType2 = "Consolas Bold";
//Watermark Font Type
extern color textFontColor2 = clrDimGray;
//Watermark Font Color
extern int textXshift2 = 10;
//Watermark X Position
extern int textYshift2 = 335;
//Watermark Y Position
extern string comBlank_22 = " ";
//.
extern string comBlank_23 = " ";
//.

extern string symbButtons = "SYMBOL BUTTONS";


//-------------------------------------------------->>>
extern bool showSymbol = true;
//[18]>> Show Symbol Buttons?
extern ENUM_BASE_CORNER symbCorner = CORNER_RIGHT_LOWER;
//Which corner?
extern string symbolSet =
"EURUSD;EURJPY;EURCAD;EURCHF;EURNZD;EURAUD;EURGBP;*;GBPUSD;GBPJPY;GBPCAD;GBPCHF;GBP
NZD;GBPAUD;*;AUDUSD;AUDJPY;AUDCAD;AUDCHF;AUDNZD;*;NZDUSD;NZDJPY;NZDCAD;NZDCHF;*;XAU
USD;CADJPY;USDCAD;USDCHF;*;USDJPY;CHFJPY;USDSGD;CADCHF"; // Symbols [separated by "
; " ]
extern string symbLineBreak = "add * for new line";
//Remarks
extern string symbPrefix = "";
//Symbol Prefix
extern string symbSuffix = "";
//Symbol Suffix
extern int symbXShift = 90;
//Horizontal shift
extern int symbYShift = 30;
//Vertical shift
extern int symbBttnWidth = 80;
//Width of button
extern int symbBttnHeight = 25;
//Height of button
extern int symbFontSize = 11;
//Symbol Font Size
extern string symbFontType = "Consolas Bold";
//Symbol Font Type
extern color symbBttnColor = C'51,51,51';
//Symbol Button color
extern color symbBttnColorSelected = C'51,51,51';
//Button selected color
extern color symbBttnBorder = clrDimGray;
//Symbol Button border color
extern color symbBttnBorderSelected = clrTeal;
//Button selected border color
extern color symbTextColor = clrSandyBrown;
//Symbol Text color - normal
extern color symbTextColorSelected = clrDarkTurquoise;
//Symbol Text color - selected
extern string comBlank_24 = " ";
//.
extern string tradeButtons = "Button Colors for Trades";
//-------------------------------------------------->>>
extern color tradeProfit = C'51,51,51';
//Trade in PROFIT Button color
extern color tradeProfitBorder = clrLimeGreen;
//Trade in PROFIT border color
extern color tradeLoss = C'51,51,51';
//Trade in LOSS Button color
extern color tradeLossBorder = clrOrangeRed;
//Trade in LOSS border color
extern color tradeZero = C'51,51,51';
//Trade in ZERO or PENDING Button color
extern color tradeZeroBorder = clrWheat;
//Trade in ZERO or PENDING border color
extern string comBlank_25 = " ";
//.

extern string timeButtons = "TIMEFRAME BUTTONS";


//-------------------------------------------------->>>
extern bool showTimeFrame = true;
//[18]>> Show TimeFrame Buttons?
extern ENUM_BASE_CORNER timeCorner = CORNER_RIGHT_LOWER;
//Which Corner?
extern int timeXShift = 60;
//Horizontal shift
extern int timeYShift = 240;
//Vertical shift
extern int timeBttnRow = 4;
//TimeFrame Buttons in a horizontal row
extern int timeBttnWidth = 50;
//Width of button
extern int timeBttnHeight = 25;
//Height of button
extern int timeFontSize = 11;
//TimeFrame Font Size
extern string timeFontType = "Consolas Bold";
//TimeFrame Font Type
extern color timeBttnColor = C'51,51,51';
//TimeFrame Button color
extern color timeBttnBorder = clrDarkGray;
//TimeFrame Button border color
extern color timeTextColor = clrDodgerBlue;
//TimeFrame Text color - normal
extern color timeTextColorSelected = clrTomato;
//TimeFrame Text color - selected
extern string comBlank_27 = " ";
//.

extern string comMADR = "MAGNIFIED ADR" ;


//-------------------------------------------------->>>
extern string comMagADR =
"-----------------------------------"; //[19]>> Magnified ADR
extern bool showMagADR = true;
//Show Magnified ADR?
extern int magADRFontSize = 14;
//Magnified ADR Font Size
extern string magADRFontType = "Consolas Bold";
//Magnified ADR Font Type
extern color magADRFontColor = clrAquamarine;
//Magnified ADR Font Color
extern int magADRXshift = 50;
//Magnified ADR X Position
extern int magADRYshift = 20;
//Magnified ADR Y Position

You might also like