1. Originally Posted by funyoo
You can use both.
Both? Can you explain better please?

---------------

[SIZE="1"]extern int StopLoss=0;//|------------------------stop loss
extern int TakeProfit=0;//|----------------------take profit

If i use only the trailing stop and trailing step like this:
extern int TrailingProfit=0;//|------------------trailing stop after profit reached
extern int TrailingStop=50;//|--------------------trailing stop
extern int TrailingStep=30;//|--------------------trailing step
the stop moves of 30 pips when maket is >50 isn't it?
Witch is the difference using the trailing Profit? and the difference between trailingProfit and TakeProfit?
extern int Slippage=3;//|------------------------slippage <--what is it?

Thanks

2. 823 I copied this from elsewhere but I think it answers your question....

Say you buy 1 contract (Y1000 per pip) EUR/JPY at our price of 124.417/124.447

You decide to add a Trailing Stop with a Stop distance of 30 points and a
Step size of 10 points

This means that your Stop will automatically keep a distance of 30 points,
repositioning each time the market moves 10 points in your favour.

3. Originally Posted by 823
Both? Can you explain better please?

---------------

[size="1"]extern int StopLoss=0;//|------------------------stop loss
extern int TakeProfit=0;//|----------------------take profit

If i use only the trailing stop and trailing step like this:
extern int TrailingProfit=0;//|------------------trailing stop after profit reached
extern int TrailingStop=50;//|--------------------trailing stop
extern int TrailingStep=30;//|--------------------trailing step
the stop moves of 30 pips when maket is >50 isn't it?
You can ignore the TrailingStep. Here, it will be like to have a 80 pips trailing stop. The EA will place a stop loss of 80 pips and then will move the SL as the market moves in the wanted direction.

Originally Posted by 823
Witch is the difference using the trailing Profit? and the difference between trailingProfit and TakeProfit?
The trailing stop will be enabled as soon as there is a profit at least equal to trailing profit (in fact the trailing profit has the function of the trailing step). The Takeprofit is the the target in pips. The code will close the order if the target is reached.

Originally Posted by 823
extern int Slippage=3;//|------------------------slippage <--what is it?

Thanks
It is the maximum difference in pips between the signal to execute an order, and the price at which the order will be executed.

4. ok thanks.

Originally Posted by funyoo

It's useful only if you attach the EA to several charts of a same pair.
If i have the same EA running in eurusd H1 / eurusd H4 / eurusd H30
Have I to change the magicnumber? and so create 3 "differents" EAs?

5. Originally Posted by 823
ok thanks.

If i have the same EA running in eurusd H1 / eurusd H4 / eurusd H30
Have I to change the magicnumber? and so create 3 "differents" EAs?
Yes you have to do it.

6. Ok thanks. Now I test this EA!

Someone else have tried the parabolic SAR combined with some indicator that produce good results?

7. Where do i find the actual indicator from

Originally Posted by jezzer1961
I'm not so sure that simply renaming the indicator is the best thing to do in this situation. Especially so as one of the attached indicators seemed to be a MTF version and was a binary without any source, so it's not as though you actually know what it's doing on the inside.

I really think you'd be better off finding the Real McCoy to use.

8. -------------

9. Hi

funyoo can you insert a stop loss, take profit, trailing stop and trailing step at the first Ea you've created in this 3d "Parabolic SAR EA.mq4 "

thanks

10. Originally Posted by funyoo
Parabolic SAR and 3 SMA EA.

EU H1. On one year.

Default with EnterOnlyAtSARCross = true, EnterOnlyAtSMACross = true, MM = true, Risk = 5, StopLoss = 220, TakeProfit = 140, and AddPositions = true.

Total net profit : 93.38%
RDD : 28.89%

Funyoo can you also post this EA??

...because i tried to make it but it doesn't place any order
and refering this post:
Originally Posted by automatic
hi

maybe use a 3sma filter?

if ALL 3 sma in order e.g for uptrend if 30sma is over 50sma which is over 100sma then buy 1 next up sar signal. opposite for downtrend ie if 30 is under 50 which is under 100 sell 1 next sell sar.

if 3 sma not in order no sar trade. 1 trade open only so need close of any existing trade before new trade. wait for first signal. Use one sar. if stopped out or tp then wait for next sar condition. ie no automatic open of new trade.

maybe also usual options like add positions, time filter etc

logic is sar is a trending signal so needs a strong trend filter. 3 sma in order signal should help keep it out of trades in ranges ie when 3 sma not in order.
I've traded in manually with good results using this rule:
Parabolic Sar + 3 SMA: 10, 25, 50.

If 10sma cross from down to top the 25 and 50 and PSAR(downside)--> buy
If 10sma cross from up to down the 25 and 50 and PSAR(upside)---> sell

Is it possible create an Ea having this rule?

thank you very much funyoo

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•