Forum

how do i copyright my code properly?

i was thinking to do something stupid ...like this one below and then get to sale my expert advisor on the market ! what do you think i should do? #property copyright "jack zorlob wrote it!"

all calculations of custom indicator are done right...but it doesnt plot it

so i am trying to tranfer code from trading views pine script to mql4 for mt4 but all calculations of custom indicator are done right...but it doesnt plot it here is the original script and here is my code plesase help! ------------------------------------------------------------

window size of of the customm indicator

i am builting a type of rsi custom indicator and i want the window to be between the values 0 an 100....how do i do that

double normalization

i have a buy order ...that has a stop loss of 1.5 times the ATR (the atr_stoploss_modifier=1.5) order_num=OrderSend(Symbol(),OP_BUY,SetLotSize(),current_ask,2,current_ask-atr_stoploss_modifier*atr_value ,current_ask+999*_Point*broker_digit_modifier)

market info function

needed_free_margin_for_one_lot = MarketInfo( Symbol() , MODE_MARGINREQUIRED) DOES THIS FUNCTION TAKE ACCOUNT THE SET LEVARAGE