Search found 4 matches
- 29 Aug 2021
- Forum: MultiCharts
- Topic: How to optimize Formula(PercentChange(close, 14))'s parameter?
- Replies: 1
- Views: 520
How to optimize Formula(PercentChange(close, 14))'s parameter?
Hi All, I want to optimize the Profolio_Rotation formula's parameter. The sample code is below: inputs: Formula(PercentChange(close, 14)); I want to modify the code: inputs:sampleday(14); inputs: Formula(PercentChange(close, sampleday)); But it will show error: ------ Compiled with error(s): ------ ...
- 06 Jun 2014
- Forum: MultiCharts
- Topic: How to output the result of pre-scanner?
- Replies: 2
- Views: 1065
How to output the result of pre-scanner?
I have 20 stocks in pre-scanner. How to output the result of pre-scanner to txt file every 5 mins? Which easylanguage keyword that I can use? I don't know how to write the easylanguage for getting the pre scanner's top 5 stocks. Should I write the code in indicator for pre-scanner? That I can use Fi...
- 05 Jan 2014
- Forum: MultiCharts
- Topic: How to get daily ADX value on 20mins time frame?(MC8.8)
- Replies: 4
- Views: 1558
Re: How to get daily ADX value on 20mins time frame?(MC8.8)
Sorry for that. I am the newbie. I can't get the correct daily value of ADX on 20 mins time frame. I try the Global Variables,but it seems that it only plot the last value. set: GVSetNamedDouble("Box",ADX(30)); get: var0 = GVGetNamedDouble("Box",0); // Plot them Plot1(var0 , "ADX"); Could the Global...
- 05 Jan 2014
- Forum: MultiCharts
- Topic: How to get daily ADX value on 20mins time frame?(MC8.8)
- Replies: 4
- Views: 1558
How to get daily ADX value on 20mins time frame?(MC8.8)
I use the code below: I can get the daily ADX corrcet value. Could you give me some suggestions? Thank you. variables: var0( 0 ) , var1(0) , var2(0) , TradeSignal(0) , PosSize(0) , ADXNUM(0,data2); var0 = BollingerBand( BollingerPrice, Length, -NumDevsDn ) ; var1 = BollingerBand( BollingerPrice, Len...