- Search Crypto Craft
- 32 Results (2 Threads, 30 Replies)
- stalkerMT4 replied Nov 6, 2019
i have severals indicators written in mql4 and i must convert them in C#: so i don't have emulate, i must get the same exact results.
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
Hi JoeeF, do you think i can overwrite bars somehow? i would like insert in bars my candles so that i can debug carefully ILowest. it is possible? that would be the final reply to my questions....
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
because i have to uniform my code to the metatrader's conventions
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
mmmm why did you wrote "brute force"? it's just a normal loop...
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
yes i know but if you see my code: private int Lowest(int count, int startindex, List<Candle> bars) { int lowposition = -1; decimal min = decimal.MaxValue; int i = 0, j = 0; for (i = startindex; j < count; i++, j++) { ...
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
you are wrong, in that particular case - i mean iLowest(...MODE_LOW...) - you already have the lowest low: it's inside iLowest (see my c# code): you don't need to index the Low array: is not right, is not wrong.... it's just useless.
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
probably i am!! ahahah
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
now i understand: so i can use iLowest and iHighest in combination with MODE_LOW and MODE_HIGH iLowest(...MODE_LOW) find the lowest low price iLowest(...MODE_HIGH) find the lowest high price iHighest(...MODE_LOW) find the highest low price ...
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
hello, i'm not sure i have fully understood your question: lets's say we have a bars like so candle0=[O=1.34, H=1.78, L=1.31, C=1.56] <- more recent candle candle1=[O=1.21, H=1.90, L=1.20, C=1.69] candle2=[O=1.11, H=1.30, L=1.10, C=1.12] ...
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
i tried but is not so easy; at the present time i have some excel spreedshets with the metatrader indicator's results; i use them for comparaison, to be sure that my conversion in C# works: the problem is that in metatrader i can't access the source ...
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
Hello JoeeF, no, is not for NinjaTrader, i'm writing from scratch a trading bot for a startup: So ILowest is the same thank Lowest (and i suppose is the same for IHighest). The documentation i found on the mql4 forum is very bad and full of typos. ...
I will code your EAs and Indicators for no charge
- stalkerMT4 replied Nov 6, 2019
Hello there, i have to convert in C# this line of Mql4 code: val=Low[Lowest(NULL,0,MODE_LOW,ExtDepth,shift)]; Lowest() is the same than ILowest (can't find documentation on Lowest, just ILowest) ????? Lowest(..) return the index of the candle with ...
I will code your EAs and Indicators for no charge