Masso Dasuki

I am a Writer

Masso Dasuki

Love to consult on branding awareness, niche market and product value. Love to help people with non-programming skill to create Mobile Application using Android Studio. Experienced with Unity 3D, Laravel, Raspberry Pi, Adruino, Wordpress and Blogspot.

  • Bukit Antarabangasa, Ampang Selangor.
  • +6019-3213193
  • masso.unifreelancer@gmail.com

  • www.unifreelancer.blogspot.com

Me

My Professional Skills

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Web Design 90%
Web Development 70%
App Development 95%
Wordpress 60%

Awesome features

Aliquam commodo arcu vel ante volutpat tempus. Praesent pulvinar velit at posuere mollis. Quisque libero sapien.

Animated elements

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed tempus cursus lectus vel pellentesque. Etiam tincidunt.

Responsive Design

Pellentesque ultricies ligula a libero porta, ut venenatis orci molestie. Vivamus vitae aliquet tellus, sed mollis libero.

Modern design

Duis ut ultricies nisi. Nulla risus odio, dictum vitae purus malesuada, cursus convallis justo. Sed a mi massa dolor.

Retina ready

Vivamus quis tempor purus, a eleifend purus. Ut sodales vel tellus vel vulputate. Fusce rhoncus semper magna.

Fast support

Suspendisse convallis sem eu ligula porta gravida. Suspendisse potenti. Lorem ipsum dolor sit amet, duis omis unde elit.

0
completed project
0
design award
0
facebook like
0
current projects
  • MQL4 - Stochastic

    MQL4 - Stochastic

    img

    #define BARS_TO_ANALYSE 100;
    
    function stocasticSignal(){
    
    string signal;
    
    for(int a=0;a<BARS_TO_ANALYSE;a++)
       {
          mainLine=iStochastic(0,0,5,3,3,MODE_SMA,0,MODE_MAIN,a);
          prevMainLine=iStochastic(0,0,5,3,3,MODE_SMA,0,MODE_MAIN,a+1);
          signalLine=iStochastic(0,0,5,3,3,MODE_SMA,0,MODE_SIGNAL,a);
          prevSignalLine=iStochastic(0,0,5,3,3,MODE_SMA,0,MODE_SIGNAL,a+1);
            
    	 if(prevMainLine <prevSignalLine && mainLine> signalLine){
            signal = "BUY";
    	 }
         if(prevMainLine>prevSignalLine && mainLine < signalLine){
            signal = "SELL";     
    	 }
       } return signal;                                                                                                                                              
    }
    
    
  • MQL4 - Moving Average Cross Over Signal

    MQL4 - Moving Average Cross Over Signal

    img
     
    
    string getMAcrossoverSignal()
    {
    	  string Signal;
          
    	  //current chart, current period, 20, no shift, simple, close price
          double SlowMovingAverage = iMA(NULL,0,50,0,MODE_SMA, PRICE_CLOSE, 0);
          
          //current chart, current period, 20, no shift, simple, close price
          double LastSlowMovingAverage = iMA(NULL,0,50,0,MODE_SMA, PRICE_CLOSE, 1);
          
          //current chart, current period, 10, no shift, simple, close price
          double FastMovingAverage = iMA(NULL,0,20,0,MODE_SMA, PRICE_CLOSE, 0);
          
          //current chart, current period, 10, no shift, simple, close price
          double LastFastMovingAverage = iMA(NULL,0,20,0,MODE_SMA, PRICE_CLOSE, 1);
          
           
          if ((LastFastMovingAverage < LastSlowMovingAverage) && (FastMovingAverage > SlowMovingAverage))
             { 
             	Comment ("CrossOver:", "BUY");
                Signal = "BUY";
             }
          
          if ((LastFastMovingAverage > LastSlowMovingAverage) && (FastMovingAverage < SlowMovingAverage))
             { 
             	Comment ("CrossOver:", "SELL");
                Signal = "SELL";
             }
             
           return Signal;
          
    }
          
    
  • MQL4 - How to Close All Trade

    MQL4 - How to Close All Trade

    im
     //---------------------------------  
     // Close All Trade  
     //--------------------------------  
     void CloseAllTrades()  
     {  
       //go through all open trades  
       for (int i=OrdersTotal(); i>=0;i--)  
       {  
        //select trade  
        if (OrderSelect(i, SELECT_BY_POS)==true)  
        {  
          //check if trade belongs to current chart  
          if(OrderSymbol()== Symbol())  
          {  
           bool Ans = OrderClose(OrderTicket(),OrderLots(), MarketInfo(OrderSymbol(), MODE_BID),5,Red);  
           if (Ans == true)  
           {  
           Print ("Order Close !");  
           }  
          }  
        }  
       }  
     }  
    
  • The Clash of Virtual Machine and Docker

    The Clash of Virtual Machine and Docker

    
    
    
    To use virtual machine using virtualbox we need to disable the hyper-v service 
    by using CMD or Powershell (Administrator)
    $ bcdedit /set hypervisorlaunchtype off
    Restart PC and start virtualbox
    ----------------------------------------------------------------
    To use docker again use below command 
    by using CMD or Powershell (Administrator)
    $ bcdedit /set hypervisorlaunchtype auto
    Restart PC and start virtualbox
  • Virtual Machine Nginx Port Forwarding to Host

    Virtual Machine Nginx Port Forwarding to Host



    Nginx port Ubuntu 18.04 at the virtual machine 


    Go to Nginx sites-available directory and open default file

    $ cd /etc/nginx/sites-available


















    $ sudo gedit default

















    Adding the default file with few ports listening





















    server {
    listen 80 default_server;
    listen [::]:80 default_server;


    root /var/www/html;

    # Add index.php to the list if you are using PHP
    index index.html index.htm index.nginx-debian.html;

    server_name _;

    location / {
    # Nodejs Proxy
    proxy_pass http://localhost:5000;
    proxy_http_version 1.1;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;

    }

    }

    server {
        listen 92;

        location / {
            proxy_pass http://localhost:19999/;
            include /etc/nginx/proxy_params;
        }
    }

    After making the changes of the default file the save it, do restart the NGINX to make it works by using

    $ sudo service nginx restart

















    So we are finish .. then let see if it is working or not.
    Check your vm http://localhost:91









    Port Forwarding to Host 

    At our VM instance terminal, we need to make our port as public

    Allow firewall to access the port by using

    $ sudo ufw allow 91/tcp



    Afterward port forwarding setup need to done at our virtual box Settings



    Choose setting at your instance




    Go to Network > Adapter 1 > Nat > Port Forwarding




    Adding port number Host Port as 92 and Guest Port as 92


    Then to let see at our host at localhost:92
















    So it is working.


    If we open directly netdata at our VM instance it will use more CPU resources. By open at host machine our instance use fewer CPU resources.

    Disclaimer:

    This setup for my research purpose as a note for myself, so my explanation might not be clear enough for a beginner. By the way, at this current time, people love to use Docker, Kubernetes, or AWS.



  • GET A FREE QUOTE NOW

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

    ADDRESS

    4759, NY 10011 Abia Martin Drive, Huston

    EMAIL

    contact-support@mail.com
    another@mail.com

    TELEPHONE

    +201 478 9800
    +501 478 9800

    MOBILE

    0177 7536213 44,
    017 775362 13