View Single Post
  #790 (permalink)  
Old 08-10-2009, 12:31 PM
forexsignals444 forexsignals444 is offline
Junior Member
 
Join Date: Jan 2009
Posts: 19
forexsignals444 is on a distinguished road
Quote:
Originally Posted by odirlei View Post
Nice one

I have see that here is the indicator that you talk about:

Вероятностная сеть - MQL4 Code Base

Also, there is an EA to use Stochastic DLL.

But... I really found very interesting that article called Recipes for Neuronets. It seems that is needed to use Visual Studio to compile that DLL called Better... I really didn`t uderstant nothing about this softwares but it seems that I will need to learn. If I discovered how to solve that things I will post here.

Bob
I am learning how to compile files by Visual Studio too and I am studying Stochastic NN
I am using this Indicator to Know It's behavior with the good trend and bad trend

for example : I am using this code when I plan to go short
Code:
int BuildT(int i)                                                          // زٍَ َهى ًي ٍهٍ  هًهَهييٌٍ 
{                                                                          //  هًهًنييٌٍ
  int T= 0;

  double Previous = djama(n,p,q,i+1);    
  double Current = djama(n,p,q,i);
  double Next = djama(n,p,q,i-1);
 
  if (Current <= Next) T = -1; 
  if (Current > Next) T =  1;  
  return (T);
and this code when I am planing to go long

Code:
int BuildT(int i)                                                          // زٍَ َهى ًي ٍهٍ  هًهَهييٌٍ 
{                                                                          //  هًهًنييٌٍ
  int T= 0;

  double Previous = djama(n,p,q,i+1);    
  double Current = djama(n,p,q,i);
  double Next = djama(n,p,q,i-1);
 
  if (Current < Next) T = -1; 
  if (Current >= Next) T =  1;  
  return (T);
}
Then I see the result
I control by (lastBar) from parameter
Attached Files
File Type: mq4 IndiTest.mq4 (19.0 KB, 43 views)
Reply With Quote