- Search Crypto Craft
-
sangmane replied Mar 2, 2010double d1 = StrToDouble(StringSubstr(VoP,0,StringLen(s)-1));
Should be easy programming fix.
-
sangmane replied Mar 1, 2010glad to know it fixes the problem

Converting from 4-5 Digits to 3 Digits
-
sangmane replied Mar 1, 2010try this one. there's a chance your sr line object's name contain "line". if the file below still deleted your sr lines, and if those sr lines drawn by indicator, upload that indicator
Pin Bar wipes out all the trendlines -objectlists
-
sangmane replied Feb 28, 2010at the end part: if (wt>Close[shift]) LSMABuffer2[shift] = EMPTY_VALUE; if (wt<Close[shift]) LSMABuffer1[shift] = EMPTY_VALUE; wt is LSMA the first line: if(wt>Close[shift]), same as if Close[shift]<wt, means price close below LSMA, trend down. ...
Understanding W-LNX indicator code
-
sangmane replied Feb 28, 2010it would be better if you post your EA so that we can try to look what's the problem
Converting from 4-5 Digits to 3 Digits
-
sangmane replied Feb 28, 2010hi ectrade, from your sample code: if(Digits==5) { tp *=10 } it seems that : tp is a var that is used in OrderSend(Symbol(),....,Ask+tp*Point) 10 is meant to be 10 Pips. if that is the case, change your code to: if(Digits==5 || Digits==3) { tp*= 10} ...
Converting from 4-5 Digits to 3 Digits
-
sangmane replied Feb 27, 2010there is possibilities you get value of price equals 0 when access past price before the first bar. a common solution to this is: instead of using c=a/b, use c = a/MathMax(small number,b) where small number could be 0.00001 or any reasonable numbers
Zero Divide Error
-
sangmane replied Feb 27, 2010hi gosko, check every lines of code that contain dividing operation (a/b). Zero divide error will occur if you have a/b and b=0. So before doing that, it's better to check b value and make sure it's not equal 0. hope this help.
Zero Divide Error
-
sangmane replied Feb 27, 2010one of the reason, imo, is when doing backtest, spread is the latest spread got from server, ie, spread at year 2010. and volatilty at year 2007 much less than volatility at year 2010. by using the same spread on a year that has much less ...
Trend change After 2007
-
sangmane replied Feb 26, 2010OBJPROP_BACK should be false to get a transparent block. it's the same with uncheck "Draw object as background" on rectangle properties.
Blocks of Transparent colour
-
sangmane replied Feb 25, 2010it won't affect the value of LongProbs. LongValue will always less or equal to TotalPattern. when TotalPattern=0, LongValue will be 0. LongProbs = LongValue/1 = 0/1. Zero divide avoided. when TotalPattern =1, LongProbs = ...
Pattern Matching Concept EA
-
sangmane replied Feb 25, 2010nice concept Ron, it can be extended to some complex pattern. after tried it, i see you should be carefull with this line: double LongProbability = LongFound / TotalPattern * 100; when TotalPattern = 0, zero divide error. i suggest to change it to ...
Pattern Matching Concept EA
-
sangmane replied Feb 25, 2010what you mean by "how many post"?
Close Script with define lot, need help!
-
sangmane replied Feb 25, 2010i think what he want is an ea that will open market order when current price cross a line object (horizontal line). this horizontal line is placed manually on chart. instead using limit order which is need to be 100 pips away from current price, ...
Cross the Line
-
sangmane replied Feb 24, 2010regarding multi tf, the chalenge will arise when we use a value of price/indicator based on bar number, like Close[1], High[1], iRSI(Null,0,....,1) etc. one of the work around would be to change how we refer to all bar's based values. for example: ...
Multi Timeframe EA