Need a script based on the MACD
Budget: $10 – $30 USD
I am looking for a skilled freelancer to develop a script based on the MACD indicator for the TradingView platform. The purpose of the script is to automate trading decisions based on specific criteria for the MACD indicators.
Skills and experience required:
- Proficiency in TradingView platform
- Strong understanding of the MACD indicator and its parameters
- Experience in developing scripts for automated trading decisions
The ideal candidate will be able to create a script that accurately analyzes market trends using the MACD indicator and executes trades based on specific parameters provided by the client. They should also be able to provide advice and recommendations on the optimal settings for the MACD indicators if needed.
DESCRIPTIONS AND PARAMETERS:
This script will involves 4 parameters:
1- Percentages in price actions
2- Preset Timeframe (1mn - 5mn - 15mn -30mn - 1hr - 2hr - 4hr)
3- MACD line and MACD Signal
4- Defined Stop-loss and Take Profit
PRINTED ON THE CHART:
- Need to put print triangles for BUY and SELL signal for long and short positions
Buy color: 0, 255, 0 (Pure Green/triangle up)
Sell color 255, 0, 0 (Pure Red/triangle down)
- Need to print plain circle as closing signal for long and short positions
Exit: color for LONG position: 0, 255, 0 (Pure Green/plain circle)
Exit: color for SHORT position: 255, 0, 0 (Pure Red/plain circle)
- Need to print 4 horizontal bars, one for point of entry (white), for StopLoss (red: ff0500), for
1st Take Profit (bright grenn; #60ff00) and for 2nd Take Profit (bright yellow; ffeb3b)
INPUTS:
TIMEFRAME:
- Need a drop-down menu to select which TIME FRAME the script use as reference to close trade.
5 choices: 1mn - 5mn - 15mn - 30mn - 1hr - 2hr - 4hr
It Should read:
TIME FRAME:<input> (set 30mn as Default Time Frame)
STOP LOSS:
- Need input for the stop loss value, which will be a percentage number. (ex. 0.05 to express 5%)
The stop loss price will be determined by percentage, and set based on the position's point of entry.
Its Should read:
STOP LOSS: <input> Default numbber is 0.5
TAKE PROFIT:
- Need input for 2 (two) Take Profit value, which will be a percentage number. (ex. 0.05 to express 5%)
The price price will be determined by percentage, and set based on the position's point of entry.
Its Should read:
TAKE PROFIT: TP1:<input> , TP2:<input>
CONDITIONS:
-------- BUY Conditions, print Pure Green Triangle up:
1- When MacD line crosses UP the MacD Signal in the current TIME FRAME
-------- SELL Conditions, print Pure Red Triangle down:
1- When MacD line crosses DOWN the MacD Signal, in the current TIME FRAME
-------- EXIT Conditions for LONG position, print Pure Green/plain circle, when (whichever events occurs first):
1- When price action reaches STOP LOSS before hitting take profit
or
2- When price action reaches 1st TAKE PROFIT set Exit to 0.35% (0.0035) in profit
or
3- When price action reaches 2nd TAKE PROFIT set Exit to 1st TAKE PROFIT
or
4- MacD line crosses DOWN the MacD Signal, in the TIME FRAME selected in the INPUT tab
Example: If a position opens (when MACD line crossed UP MACD Signal) in the 1hr time frame,
that position will be closed, when MACD Line crosses down MACD Signal in the 30mn TIME FRAME,
as that TIME FRAME had been pre-selected to 30mn
-------- EXIT Conditions for SHORT position, print Pure Red/plain circle, when (whichever events occurs first):
1- When price action reaches STOP LOSS before hitting take profit
or
2- When price action reaches 1st TAKE PROFIT set Exit to 0.35% (0.0035) in profit
or
3- When price action reaches 2nd TAKE PROFIT set Exit to 1st TAKE PROFIT
or
4- MacD line crosses UP the MacD Signal, in the TIME FRAME selected in the INPUT tab
Example: If a position opens (when MACD line crossed DOWN MACD Signal) in the 1hr time frame,
that position will be closed, when MACD Line crosses UP MACD Signal in the 30mn TIME FRAME,
as that TIME FRAME had been pre-selected to 30mn
ALERTS: (4 only, in this order)
-Buy
-Exit LONG
-Sell
-Exit SHORT
Skills and experience required:
- Proficiency in TradingView platform
- Strong understanding of the MACD indicator and its parameters
- Experience in developing scripts for automated trading decisions
The ideal candidate will be able to create a script that accurately analyzes market trends using the MACD indicator and executes trades based on specific parameters provided by the client. They should also be able to provide advice and recommendations on the optimal settings for the MACD indicators if needed.
DESCRIPTIONS AND PARAMETERS:
This script will involves 4 parameters:
1- Percentages in price actions
2- Preset Timeframe (1mn - 5mn - 15mn -30mn - 1hr - 2hr - 4hr)
3- MACD line and MACD Signal
4- Defined Stop-loss and Take Profit
PRINTED ON THE CHART:
- Need to put print triangles for BUY and SELL signal for long and short positions
Buy color: 0, 255, 0 (Pure Green/triangle up)
Sell color 255, 0, 0 (Pure Red/triangle down)
- Need to print plain circle as closing signal for long and short positions
Exit: color for LONG position: 0, 255, 0 (Pure Green/plain circle)
Exit: color for SHORT position: 255, 0, 0 (Pure Red/plain circle)
- Need to print 4 horizontal bars, one for point of entry (white), for StopLoss (red: ff0500), for
1st Take Profit (bright grenn; #60ff00) and for 2nd Take Profit (bright yellow; ffeb3b)
INPUTS:
TIMEFRAME:
- Need a drop-down menu to select which TIME FRAME the script use as reference to close trade.
5 choices: 1mn - 5mn - 15mn - 30mn - 1hr - 2hr - 4hr
It Should read:
TIME FRAME:<input> (set 30mn as Default Time Frame)
STOP LOSS:
- Need input for the stop loss value, which will be a percentage number. (ex. 0.05 to express 5%)
The stop loss price will be determined by percentage, and set based on the position's point of entry.
Its Should read:
STOP LOSS: <input> Default numbber is 0.5
TAKE PROFIT:
- Need input for 2 (two) Take Profit value, which will be a percentage number. (ex. 0.05 to express 5%)
The price price will be determined by percentage, and set based on the position's point of entry.
Its Should read:
TAKE PROFIT: TP1:<input> , TP2:<input>
CONDITIONS:
-------- BUY Conditions, print Pure Green Triangle up:
1- When MacD line crosses UP the MacD Signal in the current TIME FRAME
-------- SELL Conditions, print Pure Red Triangle down:
1- When MacD line crosses DOWN the MacD Signal, in the current TIME FRAME
-------- EXIT Conditions for LONG position, print Pure Green/plain circle, when (whichever events occurs first):
1- When price action reaches STOP LOSS before hitting take profit
or
2- When price action reaches 1st TAKE PROFIT set Exit to 0.35% (0.0035) in profit
or
3- When price action reaches 2nd TAKE PROFIT set Exit to 1st TAKE PROFIT
or
4- MacD line crosses DOWN the MacD Signal, in the TIME FRAME selected in the INPUT tab
Example: If a position opens (when MACD line crossed UP MACD Signal) in the 1hr time frame,
that position will be closed, when MACD Line crosses down MACD Signal in the 30mn TIME FRAME,
as that TIME FRAME had been pre-selected to 30mn
-------- EXIT Conditions for SHORT position, print Pure Red/plain circle, when (whichever events occurs first):
1- When price action reaches STOP LOSS before hitting take profit
or
2- When price action reaches 1st TAKE PROFIT set Exit to 0.35% (0.0035) in profit
or
3- When price action reaches 2nd TAKE PROFIT set Exit to 1st TAKE PROFIT
or
4- MacD line crosses UP the MacD Signal, in the TIME FRAME selected in the INPUT tab
Example: If a position opens (when MACD line crossed DOWN MACD Signal) in the 1hr time frame,
that position will be closed, when MACD Line crosses UP MACD Signal in the 30mn TIME FRAME,
as that TIME FRAME had been pre-selected to 30mn
ALERTS: (4 only, in this order)
-Buy
-Exit LONG
-Sell
-Exit SHORT