指定
I have attached a strategy below which I require you to add a trailing stop loss, there is an explanation below on how the trailing stop loss works, it is from the meta stock system tester in case you are wondering or have used it before.
All I require is the following stop loss to be added
Also, regarding the buy and sell condition it is available on the sheet
How does the Trailing Stop work?
The following is an example of a 2 point trailing stop, with and without a 3 bar delay:
A trade is triggered on a security. The entry price is 50. Over the next several bars, the price rises to 55. On the next bar, the price drops to 54. The following bar sees a drop to 52.5. Then the price rises to 53.5. From there, it continues to climb till it reaches 65. At this point, the price starts to fall rapidly. The next several bars have prices of 63, 61, 59, and 57 respectively.
A two point trailing stop, with no delay:
The trade is entered at 55. The stop moves up with the prices. When the price reaches 55, the stop is at 53. Two bars later, the stop is triggered and the trade is closed.
A two point trailing stop, with a 3 bar delay:
The trade is entered at 55. The stop moves up with the prices, but using the closing price from 3 bars prior to the current to calculate the stop level. Therefore, when the price begins to fall from the 55 bar high, the stop is being calculated from the price 3 bars earlier. It will not use the value of 55 till the prices have already moved back above 53 and the trade will remain open. When the prices reach 65 and begin to fall, the stop is still being used on the price 3 bars earlier. This means the prices will fall past 63, probably to 61 before being stopped out.
{Long trailing stop}
x:=1 { enter the trailing stop percent } ;
trade:= 1 { enter buy condition };
tep:=C; { trade entry price }
start:=ValueWhen(1,trade,tep);
r:=C-start;
lvl:= C-(r*(x/100));
stop:=If(trade,H-((H-tep)*(x/100)),
If(ROC(C,1,%)>0,Max(lvl,PREV),PREV));
Cross(stop,L)
{Short trailing stop}
x:=1 { enter the trailing stop percent } ;
trade:= 1 { enter sell short condition };
tep:=C; { trade entry price }
start:=ValueWhen(1,trade,tep);
r:=start-C;
lvl:= C+(r*(x/100));
stop:=If(trade,L+((tep-L)*(x/100)),
If(ROC(C,1,%)<0,Min(lvl,PREV),PREV));
Cross(H,stop)
応答済み
1
評価
プロジェクト
5
0%
仲裁
3
0%
/
67%
期限切れ
2
40%
暇
2
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
3
評価
プロジェクト
35
40%
仲裁
11
9%
/
91%
期限切れ
4
11%
暇
類似した注文
Staggered Bot (Codename: Ernst)
125+ USD
I would like to create a bot based purely on the below fundamentals; Timeframe from 5M to 1Month. The bot will place a trade via a candlestick pattern and supply and demand zone approach, (NO RSI, Bollinger bands, or the like to be taken into account) just purely candlesticks based off the candlestick bible, buy and sell. Once a trade is made, the bot will continue to make trades in that position’s direction (locked
Dear Digital Intellectual, I’ll generally outline my idea with the intended instruments and their logic. Fundamental bias with multiple factors . I have this outside of MT. It's very easy to activate or deactivate the EA on MT if the fundamentals are not in line to be bullish or bearish. Later on, APIs would be needed to fully automate this (not yet needed). Logic : Fundamental factors on a higher timeframe drive the
CPI ROBOKING
30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
Ninjatrader Strategy Coding C#
49+ USD
I'm looking for a program that will work on ninja trader 8: 1. The program should start by giving me the maximum and minimum for the Monday and Friday previous to my current date. 2. The program will shift from the 1 day to the lower time frame as needed that has been selected. a. Then, the Fibonacci sequence will be added automatically from the beginning, and the Fibonacci graph will be adjusted from elliott wave
CONVERT MT5 INDICATOR INTO AN EA
30+ USD
Hi there am looking for a programmer familiar with SMART MONEY CONCECPT to convert an mt5 into an EA based on its signal and order block formation. will give other details once i select a participant. My budget is fixed $30
Dear Programmer Go to this link https://www.youtube.com/watch?v=m1yJjAIzcp0 This video will explain everything about the strategy. I wanted to make an EA based on this strategy Draw standard deviation channels with 1 2 &3 standard deviation. The repainting should be minimal. In the mid line you have to buy and sell the same currency pair 1 lot each(or depending on the account size) If it goes up and hit the upper
Seeking Developer for Trading Strategy
30 - 50 USD
Hello, I am looking for a skilled developer to help create a powerful trading strategy for the stock markets, specifically targeting the American market index. If you have experience in programming and developing effective trading algorithms, I would love to hear from you. Please let me know if you are interested, and we can discuss this further. Thank you
Tdi makes a divergence with moving average 2 in the indicator window above level 68 in crash indeces.... For boom the divergence should occur below level 32.... Timeframe preferably 5minutes but could be left to current..Applicant should have knowledge about synthetic indices... Please don't apply if you are not willing to show competence first through demo
I am seeking an experienced MQL5 developer to complete an incomplete EA that was previously developed but not finalized. The EA involves complex zone marking, multi-timeframe analysis, and various entry strategies (Engulfing, Divergence, Aggressive) with specific stop loss, take profit, and Martingale management. The previous developer has provided the progress made so far, including an EA file and documentation
Safe and stable profitable ea
30+ USD
Need a developer who can provide an MQ4 EA or Python Code which could generate at least 0.5% per day (Stable or consistent). Strategy: - Enter in any side of trade (long or short) - trade will close with profit or loss in may be 2 to 5 minutes with best AI inside volume parameters, then wait for next trade but cooling time will be there and in 24 hours it will take 80 to 95 trade - Lots size will be depends on
プロジェクト情報
予算
30+ USD
開発者用
27
USD