Replies

GoldnOil
30 Jan 2017, 15:29

RE:

GREAT NEWS !!!  waiting for the next update.......

Spotware said:

Dear Traders. 

We are pleased to announce that we have now supported trading via FIX API with Hedging accounts. So far this is only possible with Demo accounts. You can expect to use Live accounts in ~2 weeks. We will update this thread once it becomes possible. 

Please review our new Rules of Engagement: https://www.spotware.com/pdf/cTraderFixApi_v2.9.1.pdf?v2.9.1 

Many thanks,

cTrader Team.

 


@GoldnOil

GoldnOil
26 Dec 2013, 11:08

RE:

cAlgo_Fanatic said:

Updated

using System;
using cAlgo.API;

namespace cAlgo.Indicators
{
    [Indicator(IsOverlay = true)]
    public class PreviousDayHighLow : Indicator
    {
        private double high = double.MinValue;
        private double low = double.MaxValue;


        [Output("High", Color = Colors.Lime)]
        public IndicatorDataSeries High { get; set; }

        [Output("Low", Color = Colors.Red)]
        public IndicatorDataSeries Low { get; set; }


        public override void Calculate(int index)
        {

            if (TimeFrame == TimeFrame.Daily)
            {
                High[index] = MarketSeries.High[index - 1];
                Low[index] = MarketSeries.Low[index - 1];

                return;
            }

            DateTime currentOpenTime = MarketSeries.OpenTime[index];
            DateTime previousOpenTime = MarketSeries.OpenTime[index - 1];

            bool isNewDay = previousOpenTime.Date != currentOpenTime.Date;
            bool isHighLowInit = Equals(low, double.MaxValue);

            if (isNewDay && !isHighLowInit)
            {
                High[index] = high;
                Low[index] = low;

                low = double.MaxValue;
                high = double.MinValue;
            }
            else
            {
                if (MarketSeries.High[index] > high)
                    high = MarketSeries.High[index];
                if (MarketSeries.Low[index] < low)
                    low = MarketSeries.Low[index];
                
                High[index] = High[index - 1];
                Low[index] = Low[index - 1];
            }
        }

    }
}

 

can SPOTWARE help me, in choosing some excellent coders for my robot.  like one with some good history.  I just want to build a very basic robot, so it helps me learn coding also and i don't have to sit in from of the screen all day !   I am ready to pay through western union on personal name, if someone is ready. my budget is USD 50.  Check-out below to see what i really want.

 

******************************************************************************

A simple Buy and Sell Robot

 

Name : SK Pips Buy Sell Robot - Dec'13

 

Concept :

This would be simple robot  that "opens a position" of Buy or Sell depending on certain conditions.

 

User  Inputs :

(1) "Select Item" = Gold, Silver or Currencies or Oil

(2) "Start Price" = 1190 (when this price is crossed, the robot will trigger. i.e. it starts

 

(3) "Open Buy" = +200 pips (when a certain Pips as defined are reached, then an BUY position is opened, and a 'Current Pip' is reset to zero again)

(4) "Delay Buy Time" = 60 sec  (the time robots waits, before opening a Buy position and sees the price is still above +200 pips or as defined by user in # (3).

 

(5) "Open Sell" = -150 pips (when a certain Pips as defined are reached, then a SELL position is opened, a 'Current Pip' is reset to zero again)

(6) "Delay Sell Time" = 60 sec  (the time robots waits, before opening a SELL position and sees the price is still above +200 pips or as defined by user in # (5), then only it opens the Sell Position.

 

(7) "Numbers of Buy" = 5  (max. numbers of buys to open)

(8) "Numbers of Sell" = 3  (max. numbers of sells to open)

 

(9) "Buy Size" = 10 oz (the size of the position to be opened)

(10) "Sell Size" = 5 oz (the size of the position to be opened)

 

(11) "Stop Equity Profit" = +USD 100 (if this increase is reached in the original equity, the Robots close all positions).

(12) "Stop Equity Loss" = -USD 20 (if this decrease is reached in the original equity, the Robots close all positions).

(13) "Warning" = 500% margin  (to flag a margin on screen, through flashing and sound that margin is lower, then the defined user limit.

(14) "After Close All" = repeat or stop  (if all transactions has been closed, then should the Robot start again or stop and wait for user)

 

Some constants and values :

(a) Master Pips :  it records the the overall Pips status, when the Robot started.

(b) Current Pip : it is reset to 'zero', when ever a Position is opened and Robot always checks it value before opening a position

(c) Total Buy Count = records the number of buy position has been opened so far.

(d) Total Sell Count = records the number of buy position has been opened so far.

 

The Theme :

Robot activates/starts when certain price as mentioned is reached.

Now it watches the pips as defined by the user.

When the price increases by that certain pips as mentioned by the user, it starts monitoring the time as mentioned by the user, and if after that time has passed and the PRICE is still above that certain pips mentioned by the user, IT OPENS the position, resets the 'current pips' back to zero and monitor the price again. It opens position on the 'current pips' value and not on 'master pips' value.

 

It only opens DEFINED number of BUYS & SELLs by the user. And when equity has reached a certain defined target, it closes all the positions and start again or wait for the user.

It has some warning for the user to take control, and disengage the robot.

 

*****************************************************************************************************************************


@GoldnOil

GoldnOil
26 Dec 2013, 11:08

RE:

can SPOTWARE help me, in choosing some excellent coders for my robot.  like one with some good history.  I just want to build a very basic robot, so it helps me learn coding also and i don't have to sit in from of the screen all day !   I am ready to pay through western union on personal name, if someone is ready. my budget is USD 50.  Check-out below to see what i really want.

 

******************************************************************************

A simple Buy and Sell Robot

 

Name : SK Pips Buy Sell Robot - Dec'13

 

Concept :

This would be simple robot  that "opens a position" of Buy or Sell depending on certain conditions.

 

User  Inputs :

(1) "Select Item" = Gold, Silver or Currencies or Oil

(2) "Start Price" = 1190 (when this price is crossed, the robot will trigger. i.e. it starts

 

(3) "Open Buy" = +200 pips (when a certain Pips as defined are reached, then an BUY position is opened, and a 'Current Pip' is reset to zero again)

(4) "Delay Buy Time" = 60 sec  (the time robots waits, before opening a Buy position and sees the price is still above +200 pips or as defined by user in # (3).

 

(5) "Open Sell" = -150 pips (when a certain Pips as defined are reached, then a SELL position is opened, a 'Current Pip' is reset to zero again)

(6) "Delay Sell Time" = 60 sec  (the time robots waits, before opening a SELL position and sees the price is still above +200 pips or as defined by user in # (5), then only it opens the Sell Position.

 

(7) "Numbers of Buy" = 5  (max. numbers of buys to open)

(8) "Numbers of Sell" = 3  (max. numbers of sells to open)

 

(9) "Buy Size" = 10 oz (the size of the position to be opened)

(10) "Sell Size" = 5 oz (the size of the position to be opened)

 

(11) "Stop Equity Profit" = +USD 100 (if this increase is reached in the original equity, the Robots close all positions).

(12) "Stop Equity Loss" = -USD 20 (if this decrease is reached in the original equity, the Robots close all positions).

(13) "Warning" = 500% margin  (to flag a margin on screen, through flashing and sound that margin is lower, then the defined user limit.

(14) "After Close All" = repeat or stop  (if all transactions has been closed, then should the Robot start again or stop and wait for user)

 

Some constants and values :

(a) Master Pips :  it records the the overall Pips status, when the Robot started.

(b) Current Pip : it is reset to 'zero', when ever a Position is opened and Robot always checks it value before opening a position

(c) Total Buy Count = records the number of buy position has been opened so far.

(d) Total Sell Count = records the number of buy position has been opened so far.

 

The Theme :

Robot activates/starts when certain price as mentioned is reached.

Now it watches the pips as defined by the user.

When the price increases by that certain pips as mentioned by the user, it starts monitoring the time as mentioned by the user, and if after that time has passed and the PRICE is still above that certain pips mentioned by the user, IT OPENS the position, resets the 'current pips' back to zero and monitor the price again. It opens position on the 'current pips' value and not on 'master pips' value.

 

It only opens DEFINED number of BUYS & SELLs by the user. And when equity has reached a certain defined target, it closes all the positions and start again or wait for the user.

It has some warning for the user to take control, and disengage the robot.

 

*****************************************************************************************************************************

 

 


@GoldnOil

GoldnOil
26 Dec 2013, 11:07

RE:

admin said:

The Sample Timer Display draws the countdown to the next bar on each tick in two formats on static positions on the chart. The first format is using the days and the second is using the total hours. It can be easily modified to other formats as well.

using System;
using cAlgo.API;

namespace cAlgo.Robots
{
    [Robot]
    public class Timer:Robot
    {
        protected override void OnTick()
        {
            //Latest index
            int index = MarketSeries.OpenTime.Count - 1;
            // Current Open Time
            DateTime currentOpenTime = MarketSeries.OpenTime[index];
            // Current timeframe e.g. 1 min, 1 hour, etc.
            TimeSpan difftime = MarketSeries.OpenTime[index] - MarketSeries.OpenTime[index - 1];
            // Next Open Time
            DateTime nextOpenTime = currentOpenTime + difftime;
            // Time left to next open time
            TimeSpan timeLeft = nextOpenTime - Server.Time;
            
            int days = Convert.ToInt32(timeLeft.TotalDays);            
            int hours = Convert.ToInt32(timeLeft.TotalHours % 24);
            string countDownDays = "Days:" + days.ToString("00") + ":" + hours.ToString("00") + ":" + timeLeft.Minutes.ToString("00") + ":" + timeLeft.Seconds.ToString("00");
            // Draw text for countdown to next bar in days
            ChartObjects.DrawText("TimerDays", countDownDays, StaticPosition.TopLeft, Colors.Lime);
            
            int totalHours = Convert.ToInt32(timeLeft.TotalHours); 
            string countDownHours = "Hours:" + totalHours.ToString("00") + ":" + timeLeft.Minutes.ToString("00") + ":" + timeLeft.Seconds.ToString("00");                               
            // Draw text for countdown to next bar in hours
            ChartObjects.DrawText("TimerHours", countDownHours, StaticPosition.TopRight, Colors.Lime);
        }
    }
}


 

can SPOTWARE help me, in choosing some excellent coders for my robot.  like one with some good history.  I just want to build a very basic robot, so it helps me learn coding also and i don't have to sit in from of the screen all day !   I am ready to pay through western union on personal name, if someone is ready. my budget is USD 50.  Check-out below to see what i really want.

 

******************************************************************************

A simple Buy and Sell Robot

 

Name : SK Pips Buy Sell Robot - Dec'13

 

Concept :

This would be simple robot  that "opens a position" of Buy or Sell depending on certain conditions.

 

User  Inputs :

(1) "Select Item" = Gold, Silver or Currencies or Oil

(2) "Start Price" = 1190 (when this price is crossed, the robot will trigger. i.e. it starts

 

(3) "Open Buy" = +200 pips (when a certain Pips as defined are reached, then an BUY position is opened, and a 'Current Pip' is reset to zero again)

(4) "Delay Buy Time" = 60 sec  (the time robots waits, before opening a Buy position and sees the price is still above +200 pips or as defined by user in # (3).

 

(5) "Open Sell" = -150 pips (when a certain Pips as defined are reached, then a SELL position is opened, a 'Current Pip' is reset to zero again)

(6) "Delay Sell Time" = 60 sec  (the time robots waits, before opening a SELL position and sees the price is still above +200 pips or as defined by user in # (5), then only it opens the Sell Position.

 

(7) "Numbers of Buy" = 5  (max. numbers of buys to open)

(8) "Numbers of Sell" = 3  (max. numbers of sells to open)

 

(9) "Buy Size" = 10 oz (the size of the position to be opened)

(10) "Sell Size" = 5 oz (the size of the position to be opened)

 

(11) "Stop Equity Profit" = +USD 100 (if this increase is reached in the original equity, the Robots close all positions).

(12) "Stop Equity Loss" = -USD 20 (if this decrease is reached in the original equity, the Robots close all positions).

(13) "Warning" = 500% margin  (to flag a margin on screen, through flashing and sound that margin is lower, then the defined user limit.

(14) "After Close All" = repeat or stop  (if all transactions has been closed, then should the Robot start again or stop and wait for user)

 

Some constants and values :

(a) Master Pips :  it records the the overall Pips status, when the Robot started.

(b) Current Pip : it is reset to 'zero', when ever a Position is opened and Robot always checks it value before opening a position

(c) Total Buy Count = records the number of buy position has been opened so far.

(d) Total Sell Count = records the number of buy position has been opened so far.

 

The Theme :

Robot activates/starts when certain price as mentioned is reached.

Now it watches the pips as defined by the user.

When the price increases by that certain pips as mentioned by the user, it starts monitoring the time as mentioned by the user, and if after that time has passed and the PRICE is still above that certain pips mentioned by the user, IT OPENS the position, resets the 'current pips' back to zero and monitor the price again. It opens position on the 'current pips' value and not on 'master pips' value.

 

It only opens DEFINED number of BUYS & SELLs by the user. And when equity has reached a certain defined target, it closes all the positions and start again or wait for the user.

It has some warning for the user to take control, and disengage the robot.

 

*****************************************************************************************************************************


@GoldnOil

GoldnOil
26 Dec 2013, 10:44

RE:

cAlgoFx said:

Our coding service is free for our FxPro clients only or starts at £70 per robot.

On establishing an understanding of clients strategy,each robot will take an average of 2 days to complete.

Please be concise with your strategy and needs; include pictures if  possible.

Happy hunting

A simple Buy and Sell Robot

 

Name : SK Pips Buy Sell Robot - Dec'13

 

Concept :

This would be simple robot  that "opens a position" of Buy or Sell depending on certain conditions.

 

User  Inputs :

(1) "Select Item" = Gold, Silver or Currencies or Oil

(2) "Start Price" = 1190 (when this price is crossed, the robot will trigger. i.e. it starts

 

(3) "Open Buy" = +200 pips (when a certain Pips as defined are reached, then an BUY position is opened, and a 'Current Pip' is reset to zero again)

(4) "Delay Buy Time" = 60 sec  (the time robots waits, before opening a Buy position and sees the price is still above +200 pips or as defined by user in # (3).

 

(5) "Open Sell" = -150 pips (when a certain Pips as defined are reached, then a SELL position is opened, a 'Current Pip' is reset to zero again)

(6) "Delay Sell Time" = 60 sec  (the time robots waits, before opening a SELL position and sees the price is still above +200 pips or as defined by user in # (5), then only it opens the Sell Position.

 

(7) "Numbers of Buy" = 5  (max. numbers of buys to open)

(8) "Numbers of Sell" = 3  (max. numbers of sells to open)

 

(9) "Buy Size" = 10 oz (the size of the position to be opened)

(10) "Sell Size" = 5 oz (the size of the position to be opened)

 

(11) "Stop Equity Profit" = +USD 100 (if this increase is reached in the original equity, the Robots close all positions).

(12) "Stop Equity Loss" = -USD 20 (if this decrease is reached in the original equity, the Robots close all positions).

(13) "Warning" = 500% margin  (to flag a margin on screen, through flashing and sound that margin is lower, then the defined user limit.

(14) "After Close All" = repeat or stop  (if all transactions has been closed, then should the Robot start again or stop and wait for user)

 

Some constants and values :

(a) Master Pips :  it records the the overall Pips status, when the Robot started.

(b) Current Pip : it is reset to 'zero', when ever a Position is opened and Robot always checks it value before opening a position

(c) Total Buy Count = records the number of buy position has been opened so far.

(d) Total Sell Count = records the number of buy position has been opened so far.

 

The Theme :

Robot activates/starts when certain price as mentioned is reached.

Now it watches the pips as defined by the user.

When the price increases by that certain pips as mentioned by the user, it starts monitoring the time as mentioned by the user, and if after that time has passed and the PRICE is still above that certain pips mentioned by the user, IT OPENS the position, resets the 'current pips' back to zero and monitor the price again. It opens position on the 'current pips' value and not on 'master pips' value.

 

It only opens DEFINED number of BUYS & SELLs by the user. And when equity has reached a certain defined target, it closes all the positions and start again or wait for the user.

It has some warning for the user to take control, and disengage the robot.

 

(tell me how many days, and what will you charge me? I can pay by western union, but on personal name and not company name).

 

 

 


@GoldnOil