Topic: Parabolic SAR as closing logic condition

for some odd reason it seems to be missing....

Can you please add it?

(It is there for opening logic)

Mikael

Re: Parabolic SAR as closing logic condition

mikaelb wrote:

for some odd reason it seems to be missing....

Can you please add it?

(It is there for opening logic)

Mikael

Have a look in 'Closing Point of the Position' you will see it there.

My 'secret' goal is to push EA Studio until I can net 3000 pips per day....

3 (edited by hades 2013-02-24 14:13:10)

Re: Parabolic SAR as closing logic condition

Hi,


Yes sure i have the same Pb, in closing point of the position sure but not like as  logical closing position add.

So i fyou want to close at Psar with moving average that is not possible.

exemple :

MM80 crossing  & psar with 0.01/0.15 that's not possible.


We can note that Psar is generally used for trend suggestion and only for CLOSING never for opening postion.

So ... i thought taht Psar indicator need to be improve.


Cia

Re: Parabolic SAR as closing logic condition

The Parabolic SAR stands for Parabolic Stop and Reverse. Whilst it can be used just as a stop it was originally intended as an indicator to use when you wanted to be in the market the whole time.

5 (edited by hades 2013-02-25 19:41:36)

Re: Parabolic SAR as closing logic condition

Sure Spider, but some improvement will be great !

- Like possibility to change Starting Af Range : unuable to select 0.002
- Idem est for Increment
- possibility to add as a Logical closing condition


So please can you you tell me if it s possible to modify this ?
Where can i find Psar.CS ?
i don't found it or did somebody get the code ?


Best regards

Re: Parabolic SAR as closing logic condition

hades wrote:

Sure Spider, but some improvement will be great !

- Like possibility to change Starting Af Range : unuable to select 0.002
- Idem est for Increment
- possibility to add as a Logical closing condition


So please can you you tell me if it s possible to modify this ?
Where can i find Psar.CS ?
i don't found it or did somebody get the code ?


Best regards

You can find Psar source here: http://forexsb.com/wiki/develop/start

Re: Parabolic SAR as closing logic condition

Great thanks

Re: Parabolic SAR as closing logic condition

Hi again, here a test strategie on 5 digit broker.

Please give me your feed back.

Strategy name: New3
Forex Strategy Builder v2.76.0.0
Exported on: 02/03/2013 20:59:37

Description:
This strategy serves to demonstrate how the Optimizer works.

To test it, simply open the Optimizer, check all parameters' check boxes and press the "Optimize" button.

Be careful! The resulting strategy may be over-optimized!

Market: EURUSD 15 Minutes
Spread in pips: 2,00
Swap Long in pips: 2,00
Swap Short in pips: -2,00
Commission per lot at opening and closing in pips: 1,00
Slippage in pips: 5

Maximum open lots: 1,00
Entry lots: 1,00
Martingale money management multiplier: 1,94

Intrabar scanning: Accomplished
Interpolation method: Pessimistic scenario
Ambiguous bars: 0
Tested bars: 17988
Balance: 11264 pips (9879,92 USD)
Minimum account: -495 pips (600,71 USD)
Maximum drawdown: 2153 pips (1604,99 USD)
Time in position: 29 %

[Strategy Properties]
     A same direction signal - Does nothing
     An opposite direction signal - Reverses the position
     Permanent Stop Loss - 200
     Permanent Take Profit - None
     Break Even - None

[Opening Point of the Position]
     Bar Opening
     Enter the market at the beginning of the bar
     Base price  -  Open

[Opening Logic Condition]
     Parabolic SAR
     The price is higher than the PSAR value
     Starting AF  -  0,01
     Increment  -  0,02
     Maximum AF  -  0,03

[Opening Logic Condition]
     Long or Short
     Open long positions only

[Opening Logic Condition]
     Moving Averages Crossover
     The Fast MA crosses the Slow MA upward
     Base price  -  Close
     Fast MA method  -  Simple
     Slow MA method  -  Simple
     Fast MA period  -  20
     Slow MA period  -  23
     Fast MA shift  -  0
     Slow MA shift  -  0
     Use previous bar value  -  Yes

[Opening Logic Condition]
     Balance of Power
     The Balance of Power rises
     Smoothing method  -  Simple
     Period  -  22
     Use previous bar value  -  Yes

[Closing Point of the Position]
     Parabolic SAR
     Exit the market at PSAR
     Starting AF  -  0,01
     Increment  -  0,02
     Maximum AF  -  0,03


Impossible to made this one in reverse.

So...

9 (edited by footon 2013-03-04 17:03:45)

Re: Parabolic SAR as closing logic condition

Hi all again,

Just started modifications on Psar, great thanks to Denny Imanuel for his Tuto on creating custom indicators.
I had to test several times before my file appear in FSB but ... it's working.

I have some questions, simple and more complex.

The first one is hawo to in the combox pass values from 0.01 to 0.001 ?
I need more after comma.

Here's the code i tryed by just replacing value but it not seems working

Why ? Thanks for yours answers.

Code :

// The ComboBox parameters
            IndParam.ListParam[0].Caption = "Logic";
            if (slotType == SlotTypes.OpenFilter)
                IndParam.ListParam[0].ItemList = new string[]
                {
                    "The price is higher than the PSAR value"
                };
            else if (slotType == SlotTypes.CloseFilter)
                IndParam.ListParam[0].ItemList = new string[]
                {
                    "The price is lower than the PSAR value"
                };
            else
                IndParam.ListParam[0].ItemList = new string[]
                {
                    "Not Defined"
                };
            IndParam.ListParam[0].Index = 0;
            IndParam.ListParam[0].Text = IndParam.ListParam[0].ItemList[IndParam.ListParam[0].Index];
            IndParam.ListParam[0].Enabled = true;
            IndParam.ListParam[0].ToolTip = "Logic of application of the indicator.";

            // The NumericUpDown parameters
            IndParam.NumParam[0].Caption = "Starting AF";
            IndParam.NumParam[0].Value = 0.01;
            IndParam.NumParam[0].Min = 0.00;
            IndParam.NumParam[0].Max = 5.00;
            IndParam.NumParam[0].Point = 2;
            IndParam.NumParam[0].Enabled = true;
            IndParam.NumParam[0].ToolTip = "The starting value of Acceleration Factor.";

            IndParam.NumParam[1].Caption = "Increment";
            IndParam.NumParam[1].Value = 0.01;
            IndParam.NumParam[1].Min = 0.01;
            IndParam.NumParam[1].Max = 5.00;
            IndParam.NumParam[1].Point = 2;
            IndParam.NumParam[1].Enabled = true;
            IndParam.NumParam[1].ToolTip = "Increment value.";

            IndParam.NumParam[2].Caption = "Maximum AF";
            IndParam.NumParam[2].Value = 0.15;
            IndParam.NumParam[2].Min = 0.01;
            IndParam.NumParam[2].Max = 9.00;
            IndParam.NumParam[2].Point = 2;
            IndParam.NumParam[2].Enabled = true;
            IndParam.NumParam[2].ToolTip = "The maximum value of the Acceleration Factor.";

            return;
        }

Re: Parabolic SAR as closing logic condition

Use code brackets when pasting code.

Edit point value to move comma spacing.

Re: Parabolic SAR as closing logic condition

Thanks Footon that's work fine.


Really great

Re: Parabolic SAR as closing logic condition

Please could you upload your modified Parabolic SAR indicator.