Search found 11 matches
- 11 Aug 2022
- Forum: MultiCharts
- Topic: Temporary entry level [SOLVED]
- Replies: 3
- Views: 799
Re: Temporary entry level [SOLVED]
I have solved the issue using the following: //Define first Green if setGreenBar = true and setGreenBar[1] = false then begin entryLevelLong = High; entryLevelDateStart = date; end; //Define last Green if setGreenBar = false and setGreenBar[1] = true then begin entryLevelDateEnd = date[1]; end; entr...
- 08 Aug 2022
- Forum: MultiCharts
- Topic: Temporary entry level [SOLVED]
- Replies: 3
- Views: 799
Re: Temporary entry level [SOLVED]
Thank you. I will keep that in mind when I start working on thatIf you want to trigger an order intra-bar in real-time,
You need to set IOG IntrabarOrderGeneration to TRUE.
- 06 Aug 2022
- Forum: MultiCharts
- Topic: Temporary entry level [SOLVED]
- Replies: 3
- Views: 799
Temporary entry level [SOLVED]
I am making the frame for a simple strategy, yet I have problems getting it to work the way I want it to. Bar color: I color the bars based on the signals given by indicators. Basically I'm using MACD and RSI. The colors are defined like this: Green: if both indicators give a long signal Red: if bot...
- 31 Jul 2022
- Forum: MultiCharts
- Topic: Position size [SOLVED]
- Replies: 2
- Views: 765
Re: Position size [SOLVED]
Depending on the historical data, AvgTrueRange can return zero. Which would throw a division by zero error. Other than that it should work. Try setting the numContracts variable to fixed number and if that does not work then provide a screenshot of your signal property settings and what instrument ...
- 30 Jul 2022
- Forum: MultiCharts
- Topic: Position size [SOLVED]
- Replies: 2
- Views: 765
Position size [SOLVED]
Hi, I'm trying to backtest a strategy where my position size is depending on the ATR of the underlying security. But when I run the test, I recieve the amount of contracts specified in the "Strategy Properties" window. Is there a way to disable the settings from Strategy Properties so my position si...
- 29 Jun 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 1023
Re: ATR at entry price [SOLVED]
Thank you very much!! You will find the entire code below : inputs: ATRLengthS (5), NumATRsS (5); variables: var1( 0 ); ATRStopLossValue( 0 ); condition3 = marketposition=0 and .... ; if condition3 then Buy ( "BBStochLE" ) next bar at market ; condition4 = marketposition=0 and ..... ; if condition4...
- 28 Jun 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 1023
Re: ATR at entry price [SOLVED]
That was my thought as well. But what should i do to make sure the ATR is assigned at that specific time?First, you create a variable to store the ATR value.
At the time of entry, you assign the ATR value to the said variable.
- 27 Jun 2022
- Forum: MultiCharts
- Topic: ATR at entry price [SOLVED]
- Replies: 5
- Views: 1023
ATR at entry price [SOLVED]
Hi, I'm trying to write a strategy where the TP/SL is defined by the ATR at entry price. But how can I specify that I need the ATR at that specific time and that it shouldnt change? variables: numbShares(200); //Take Profit if marketposition = 1 and (entryprice + averagetruerange(14)*1) < close then...
- 03 Apr 2022
- Forum: MultiCharts
- Topic: Better Volume Indicator not showing
- Replies: 2
- Views: 661
Re: Better Volume Indicator not showing
Hmm, maybe that is it.. Right now I use a demo account from IBKR for datafeed, but maybe if I use my live trading accound I could get some more data?
- 03 Apr 2022
- Forum: MultiCharts
- Topic: Better Volume Indicator not showing
- Replies: 2
- Views: 661
Better Volume Indicator not showing
I have the following code which I recieved on: https://emini-watch.com/free-stuff/volume-indicator/ The code can be compiled and added to the chart, but it doesnt show any volume bars (see attached image). Trying to figure out if it has something to do with the code or my settings, so does anyone el...
- 24 Feb 2022
- Forum: MultiCharts
- Topic: Waddah Attar Explosion
- Replies: 0
- Views: 506
Waddah Attar Explosion
Hi,
Anyone had any luck coding the Waddah Attar Explosion indicator? I can't seem to find it anywhere
Anyone had any luck coding the Waddah Attar Explosion indicator? I can't seem to find it anywhere