- Search Crypto Craft
-
sangmane replied Apr 19, 2010To create more than one object, you should use a different object name. from your example, you are trying to create text object with the same name, ie: "Weakness"+ tCnt. Because tCnt is assigned a zero value, object name will always be "Weakness0. ...
Please help with this indicator
-
sangmane replied Apr 18, 2010attached is a raw EA just for backtest. you need target price, without it, there will be many winner turn to loser
EA for this strategy has legs
-
sangmane replied Apr 18, 2010// natuarally this will now alert 3 times for the same signal if (AlertOn && NewBar()) { Alert(AlertPrefix+MA1short_name+" ("+MA1+") "+"crosses UP " + MA2short_name+" ("+MA2+")"); } // and this will send 3 emails! if (SendAnEmail && NewBar()) { ...
code quality
-
sangmane replied Apr 17, 2010SMMA (smoothed moving average) or Wilder's Moving average, is just another EMA with different period. SMMA N period equals to EMA (2N-1) period SMMA 10 = EMA 19 SMMA 14 = EMA 27 SMMA 80 = EMA 159
Why Moving Average?
-
sangmane replied Apr 17, 2010From wikipedia: - moving average, also called rolling average, rolling mean or running average, is a type of finite impulse response filter used to analyze a set of data points by creating a series of averages of different subsets of the full data ...
Why Moving Average?
-
sangmane replied Apr 17, 2010niceguy, autotrendchannel is a linear regression channel. it repaints its channel to fit price curve. thats why your chart shows a perfect bounce at the upper/lower channel. your rules is interesting, especially the addition of stoch and stdev to ...
A Simple London Breakout
-
sangmane replied Apr 17, 2010do you have a hard number rules about middle line being "pointing up", "pointing down" and "flat"? it is needed by EA to make trading decision
Bollinger Bands Range And Trend Trading
-
sangmane replied Apr 17, 2010you can't see the value of the current RSI : iRSI(NULL, 0, 14, PRICE_CLOSE, Current + 0) on the history because this value changes on every tick. what you see on your chart is the final RSI value after the candle close. in this case : iRSI(NULL, 0, ...
RSI not working properly on Backtest
-
sangmane replied Apr 16, 2010double sum = 0; //initial sum = 0 int Cnt = 0; //initial Cnt = 0; Cnt is used as a counter, to count how many bars that have opentime between 6 - 18 for ( int n=i;n<i+MA_Period;n++ ) //loop through the last 50 bars (assume MA_Period = 50 { ...
Please help with this indicator
-
sangmane replied Apr 16, 2010See file below. I draw three extra lines to show the level of LowAvg, NormalAvg and HighAvg
Please help with this indicator
-
sangmane replied Apr 16, 2010do you mean you want to calculate average volume between 6 - 19 gmt? you should divide sum with 13 (not the MA_Period parameter which is equals to 50) as there are 13 bars between 06 - 19 gmt (i assume you are using H1 TF), bar that open at 19 gmt ...
Please help with this indicator
-
sangmane replied Apr 16, 2010Hi tato, check the code below #property indicator_separate_window #property indicator_buffers 4 #property indicator_color1 White #property indicator_color2 DeepSkyBlue #property indicator_color3 Red #property indicator_color4 Purple #property ...
Please help with this indicator
-
sangmane replied Apr 14, 2010hawk, with this formula double myPoint = MathPow(10, -1*Digits);, you just get back the Point variable. This code will do the trick: double myPoint = Point; if(Digits==3 || Digits==5) myPoint = 10*Point;
A Simple London Breakout
-
sangmane replied Apr 14, 2010Try lower value for FibLength parameter (indicator properties). A value of 2 will keep the fib's level length short enough so that those fib lines won't overlapped each other at H1 chart
A Simple London Breakout
-
sangmane replied Apr 12, 2010attached below the corrected version of previous London Breakout 2 indicator. now buystop is always on the top edge of the box, sellstop is always on the bottom edge. also this indicator permit you to use StartTime = 22.00 and EndTime = 03.00. you ...
A Simple London Breakout
-
sangmane replied Apr 12, 2010Hi guys, Yes, vLow is always less than vHigh...
I'm glad to know that some trader use this indicator. I want to explain the meaning of tlow, thigh. int thigh = iHighest(NULL,0,MODE_HIGH,(ib1-ib2+1),ib2); int tlow = ...A Simple London Breakout
-
sangmane replied Apr 11, 2010hi hayseed, many thanks for sharing
. will play with it today.Need sound for indicator
-
sangmane replied Apr 11, 2010pipper, from my screenshot you should know the timeframe. it is H1. the reason for nothing happened after clicking start, maybe you don't have history data for the specified dates range.
EA - Daily open